l2task.hpp

来自「一个非常好的人工智能开发工具开源软件」· HPP 代码 · 共 49 行

HPP
49
字号
/*** *** 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 + =
减小字号Ctrl + -
显示快捷键?