|
MOOS 0.2375
|
#include <MOOSScheduler.h>


Classes | |
| class | CEvent |
| class | CResponseMsg |
Public Types | |
| typedef std::list< CEvent > | EVENT_LIST |
| typedef std::list< CResponseMsg > | RESPONSE_LIST |
| typedef std::map< std::string, RESPONSE_LIST > | RESPONSE_LIST_MAP |
Public Member Functions | |
| CMOOSScheduler () | |
| virtual | ~CMOOSScheduler () |
| bool | Iterate () |
| bool | OnConnectToServer () |
| bool | OnStartUp () |
| bool | OnNewMail (MOOSMSG_LIST &NewMail) |
| bool | Schedule () |
Protected Member Functions | |
| bool | RegisterResponses () |
| bool | HandleResponses (MOOSMSG_LIST &NewMail) |
| bool | OnControl (std::string sControl) |
| bool | Initialise () |
| bool | Clean () |
| bool | OnRestart () |
| bool | StartThreads () |
| bool | StopThreads () |
| bool | AddResponses () |
| bool | AddTimers () |
| bool | AddSequences () |
Protected Attributes | |
| bool | m_bQuit |
| bool | m_bActive |
| unsigned long | m_nScheduleThreadID |
| EVENT_LIST | m_Events |
| RESPONSE_LIST_MAP | m_Responses |
| int | m_nTicks |
Definition at line 43 of file MOOSScheduler.h.
| typedef std::list<CEvent> CMOOSScheduler::EVENT_LIST |
Definition at line 75 of file MOOSScheduler.h.
| typedef std::list<CResponseMsg> CMOOSScheduler::RESPONSE_LIST |
Definition at line 84 of file MOOSScheduler.h.
| typedef std::map<std::string,RESPONSE_LIST> CMOOSScheduler::RESPONSE_LIST_MAP |
Definition at line 85 of file MOOSScheduler.h.
| CMOOSScheduler::CMOOSScheduler | ( | ) |
Definition at line 113 of file MOOSScheduler.cpp.
| CMOOSScheduler::~CMOOSScheduler | ( | ) | [virtual] |
Definition at line 119 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::AddResponses | ( | ) | [protected] |
Definition at line 288 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::AddSequences | ( | ) | [protected] |
Definition at line 181 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::AddTimers | ( | ) | [protected] |
Definition at line 236 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::Clean | ( | ) | [protected] |
Definition at line 459 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::HandleResponses | ( | MOOSMSG_LIST & | NewMail | ) | [protected] |
Definition at line 508 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::Initialise | ( | ) | [protected] |
Definition at line 467 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::Iterate | ( | ) | [virtual] |
virtual overide of base class CMOOSApp member. Here we do all the processing and IO
Reimplemented from CMOOSApp.
Definition at line 125 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::OnConnectToServer | ( | ) | [virtual] |
virtual overide of base class CMOOSApp member. Here we register for data we wish be informed about
Reimplemented from CMOOSApp.
Definition at line 131 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::OnControl | ( | std::string | sControl | ) | [protected] |
Definition at line 492 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::OnNewMail | ( | MOOSMSG_LIST & | NewMail | ) | [virtual] |
Called when ever mail comes in
Reimplemented from CMOOSApp.
Definition at line 147 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::OnRestart | ( | ) | [protected] |
Definition at line 452 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::OnStartUp | ( | ) | [virtual] |
called before we start main application loop
Reimplemented from CMOOSApp.
Definition at line 141 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::RegisterResponses | ( | ) | [protected] |
Definition at line 550 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::Schedule | ( | ) |
the whole point
Definition at line 417 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::StartThreads | ( | ) | [protected] |
Definition at line 83 of file MOOSScheduler.cpp.
| bool CMOOSScheduler::StopThreads | ( | ) | [protected] |
Definition at line 69 of file MOOSScheduler.cpp.
bool CMOOSScheduler::m_bActive [protected] |
Definition at line 118 of file MOOSScheduler.h.
bool CMOOSScheduler::m_bQuit [protected] |
Definition at line 117 of file MOOSScheduler.h.
EVENT_LIST CMOOSScheduler::m_Events [protected] |
Definition at line 134 of file MOOSScheduler.h.
unsigned long CMOOSScheduler::m_nScheduleThreadID [protected] |
Win32 handle to thread ID of thread
Definition at line 126 of file MOOSScheduler.h.
int CMOOSScheduler::m_nTicks [protected] |
Definition at line 136 of file MOOSScheduler.h.
RESPONSE_LIST_MAP CMOOSScheduler::m_Responses [protected] |
Definition at line 135 of file MOOSScheduler.h.
1.7.4