📄 l2task.hpp
字号:
/*** *** See the file "L2_RTI_EO1/disclaimers-and-notices-L2.txt" for *** information on usage and redistribution of this file, *** and for a DISCLAIMER OF ALL WARRANTIES. ***/#ifndef L2Task_H#define L2Task_H#include <Reporter.hpp>class Livingstone;class RTIMessage;/** * Method dequeueRealTimeInput() is run in its own task. This task receives * messages from the Policy task and in response either (1) performs * operations on Livingstone; (2) sends messages to the Reporter task; or * (3) logs a message upon exiting. * \ingroup RTI */class L2Task { public: /** The entry point for the task. */ void dequeueRealTimeInput( void ); /** * Constructor. * \param Livingstone a reference to the Livingstone engine */ L2Task(Livingstone& livingstone); /** Destructor */ ~L2Task( void ); private: /** Does the dispatching */ int actionLivingstone(const RTIMessage& livingstoneMessage); private: /** The Livingstone engine. */ Livingstone& d_livingstone; /** Responsible for generating output. */ Reporter d_reporter;};#endif /* L2Task_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -