MOOS 0.2375
|
#include <Antler.h>
Classes | |
struct | MOOSProc |
Public Types | |
enum | VERBOSITY_LEVEL { QUIET, TERSE, CHATTY } |
Public Member Functions | |
CAntler () | |
bool | Run (const std::string &sMissionFile, std::set< std::string > Filter=std::set< std::string >()) |
bool | Run (const std::string &sHost, int lPort, const std::string &sAntlerName) |
bool | SetVerbosity (VERBOSITY_LEVEL eLevel) |
bool | ShutDown () |
Protected Types | |
typedef std::list< MOOSProc * > | MOOSPROC_LIST |
Protected Member Functions | |
bool | Spawn (const std::string &sMissionFile, bool bHeadless=false) |
MOOSProc * | CreateMOOSProcess (std::string sProcName) |
bool | MakeConsoleLaunchParams (std::string sParam, STRING_LIST &LaunchList, std::string sProcName, std::string sMOOSName) |
bool | MakeExtraExecutableParameters (std::string sParam, STRING_LIST &ExtraCommandLineParameters, std::string sProcName, std::string sMOOSName) |
bool | DoNixOSLaunch (MOOSProc *pNewProc) |
bool | ConfigureMOOSComms () |
bool | SendMissionFile () |
bool | PublishProcessQuit (const std::string &sProc) |
bool | PublishProcessLaunch (const std::string &sProc) |
bool | DoRemoteControl () |
bool | OnMOOSConnect () |
bool | OnMOOSDisconnect () |
bool | KillNicely (MOOSProc *pProc) |
Static Protected Member Functions | |
static bool | _RemoteControlCB (void *pParam) |
static bool | _MOOSConnectCB (void *pParam) |
static bool | _MOOSDisconnectCB (void *pParam) |
Protected Attributes | |
MOOSPROC_LIST | m_ProcList |
std::string | m_sDefaultExecutablePath |
CProcessConfigReader | m_MissionReader |
std::set< std::string > | m_Filter |
int | m_nCurrentLaunch |
CMOOSThread | m_RemoteControlThread |
CMOOSCommClient * | m_pMOOSComms |
CMOOSLock | m_JobLock |
std::string | m_sMissionFile |
bool | m_bHeadless |
bool | m_bQuitCurrentJob |
bool | m_bSupportGentleKill |
bool | m_bRunning |
bool | m_bNewJob |
std::string | m_sMonarchAntler |
bool | m_bKillOnDBDisconnect |
std::string | m_sReceivedMissionFile |
std::string | m_sAntlerName |
std::string | m_sDBHost |
int | m_nDBPort |
VERBOSITY_LEVEL | m_eVerbosity |
typedef std::list<MOOSProc*> CAntler::MOOSPROC_LIST [protected] |
CAntler::CAntler | ( | ) |
Definition at line 15 of file Antler.cpp.
static bool CAntler::_MOOSConnectCB | ( | void * | pParam | ) | [inline, static, protected] |
static bool CAntler::_MOOSDisconnectCB | ( | void * | pParam | ) | [inline, static, protected] |
static bool CAntler::_RemoteControlCB | ( | void * | pParam | ) | [inline, static, protected] |
bool CAntler::ConfigureMOOSComms | ( | ) | [protected] |
Definition at line 190 of file Antler.cpp.
CAntler::MOOSProc * CAntler::CreateMOOSProcess | ( | std::string | sProcName | ) | [protected] |
Definition at line 660 of file Antler.cpp.
bool CAntler::DoNixOSLaunch | ( | CAntler::MOOSProc * | pNewProc | ) | [protected] |
Definition at line 960 of file Antler.cpp.
bool CAntler::DoRemoteControl | ( | ) | [protected] |
main comms handling thread
Definition at line 76 of file Antler.cpp.
Kill a process gently
Definition at line 308 of file Antler.cpp.
bool CAntler::MakeConsoleLaunchParams | ( | std::string | sParam, |
STRING_LIST & | LaunchList, | ||
std::string | sProcName, | ||
std::string | sMOOSName | ||
) | [protected] |
Definition at line 592 of file Antler.cpp.
bool CAntler::MakeExtraExecutableParameters | ( | std::string | sParam, |
STRING_LIST & | ExtraCommandLineParameters, | ||
std::string | sProcName, | ||
std::string | sMOOSName | ||
) | [protected] |
Definition at line 570 of file Antler.cpp.
bool CAntler::OnMOOSConnect | ( | ) | [protected] |
hellos MOOSDB!
Definition at line 241 of file Antler.cpp.
bool CAntler::OnMOOSDisconnect | ( | ) | [protected] |
goodby MOOSDB
Definition at line 256 of file Antler.cpp.
bool CAntler::PublishProcessLaunch | ( | const std::string & | sProc | ) | [protected] |
Definition at line 294 of file Antler.cpp.
bool CAntler::PublishProcessQuit | ( | const std::string & | sProc | ) | [protected] |
Definition at line 280 of file Antler.cpp.
bool CAntler::Run | ( | const std::string & | sMissionFile, |
std::set< std::string > | Filter = std::set<std::string>() |
||
) |
Definition at line 29 of file Antler.cpp.
bool CAntler::Run | ( | const std::string & | sHost, |
int | lPort, | ||
const std::string & | sAntlerName | ||
) |
Definition at line 38 of file Antler.cpp.
bool CAntler::SendMissionFile | ( | ) | [protected] |
Definition at line 217 of file Antler.cpp.
bool CAntler::SetVerbosity | ( | VERBOSITY_LEVEL | eLevel | ) |
Definition at line 171 of file Antler.cpp.
bool CAntler::ShutDown | ( | ) |
Definition at line 824 of file Antler.cpp.
Definition at line 367 of file Antler.cpp.
bool CAntler::m_bHeadless [protected] |
bool CAntler::m_bKillOnDBDisconnect [protected] |
bool CAntler::m_bNewJob [protected] |
bool CAntler::m_bQuitCurrentJob [protected] |
bool CAntler::m_bRunning [protected] |
bool CAntler::m_bSupportGentleKill [protected] |
VERBOSITY_LEVEL CAntler::m_eVerbosity [protected] |
std::set<std::string> CAntler::m_Filter [protected] |
CMOOSLock CAntler::m_JobLock [protected] |
CProcessConfigReader CAntler::m_MissionReader [protected] |
int CAntler::m_nCurrentLaunch [protected] |
int CAntler::m_nDBPort [protected] |
CMOOSCommClient* CAntler::m_pMOOSComms [protected] |
MOOSPROC_LIST CAntler::m_ProcList [protected] |
CMOOSThread CAntler::m_RemoteControlThread [protected] |
std::string CAntler::m_sAntlerName [protected] |
std::string CAntler::m_sDBHost [protected] |
std::string CAntler::m_sDefaultExecutablePath [protected] |
std::string CAntler::m_sMissionFile [protected] |
std::string CAntler::m_sMonarchAntler [protected] |
std::string CAntler::m_sReceivedMissionFile [protected] |