|
My Project
|
Public Types | |
| enum | MsgType { CONTROL_CONNECTED, OPTCAM_CONNECTED, SCANNER_CONNECTED, PTEL_CONNECTED, DEICING_CONNECTED, SEND_HEARTBEAT, CONTROL_MSG, OPTCAM_MSG, SCANNER_MSG } |
Public Types inherited from gcp::util::GenericMasterTaskMsg | |
| enum | GenericMasterMsgType { ADD_HANDLER = GenericTaskMsg::LAST+1, ENABLE_TIMER, INSTALL_TIMER, INSTALL_SIGNAL, TASK_SPECIFIC } |
Public Types inherited from gcp::util::GenericTaskMsg | |
| enum | GenericMsgType { HEARTBEAT, STOP, RESTART, TASK_SPECIFIC, LAST } |
Public Member Functions | |
| OptCamMsg * | getOptCamMsg () |
| ScannerMsg * | getScannerMsg () |
| ControlMsg * | getControlMsg () |
| void | packSendHeartBeatMsg () |
| void | packControlConnectedMsg (bool connected) |
| void | packPtelControlConnectedMsg (bool connected) |
| void | packDeicingControlConnectedMsg (bool connected) |
| void | packScannerConnectedMsg (bool connected) |
| void | packOptCamConnectedMsg (bool connected) |
Public Member Functions inherited from gcp::util::GenericMasterTaskMsg | |
| void | packInstallTimerMsg (std::string name, int sigNo, unsigned long initSec, unsigned long initNsec, unsigned long intervalSec, unsigned long intervalNsec, SIGNALTASK_HANDLER_FN(*handler)) |
| void | packInstallTimerMsg (std::string name, int sigNo, unsigned long intervalSec, unsigned long intervalNsec, SIGNALTASK_HANDLER_FN(*handler)) |
| void | packInstallSignalMsg (int sigNo, SIGNALTASK_HANDLER_FN(*handler)) |
| void | packEnableTimerMsg (std::string name, bool enable) |
| void | packAddHandlerMsg (std::string name, SIGNALTASK_HANDLER_FN(*handler), bool add) |
Public Attributes | |
| MsgType | type |
| union { | |
| struct { | |
| bool connected | |
| } controlConnected | |
| struct { | |
| bool connected | |
| } scannerConnected | |
| struct { | |
| bool connected | |
| } optcamConnected | |
| struct { | |
| bool connected | |
| } ptelConnected | |
| struct { | |
| bool connected | |
| } deicingConnected | |
| ControlMsg controlMsg | |
| OptCamMsg optcamMsg | |
| ScannerMsg scannerMsg | |
| } | body |
Public Attributes inherited from gcp::util::GenericMasterTaskMsg | |
| union { | |
| struct { | |
| char name [SIGNAL_NAME_LEN+1] | |
| int sigNo | |
| unsigned long initSec | |
| unsigned long initNsec | |
| unsigned long intervalSec | |
| unsigned long intervalNsec | |
| SIGNALTASK_HANDLER_FN * handler | |
| } installTimer | |
| struct { | |
| int sigNo | |
| SIGNALTASK_HANDLER_FN * handler | |
| void * args | |
| } installSignal | |
| struct { | |
| char name [SIGNAL_NAME_LEN+1] | |
| bool enable | |
| } enableTimer | |
| struct { | |
| char name [SIGNAL_NAME_LEN+1] | |
| SIGNALTASK_HANDLER_FN * handler | |
| void * args | |
| bool add | |
| } addHandler | |
| } | genericMasterBody |
Public Attributes inherited from gcp::util::GenericTaskMsg | |
| GenericMsgType | genericMsgType_ |
Enumerate supported message types.
|
inline |
Pack a control connection status message
|
inline |
Pack a deicing control connection status message
|
inline |
Pack a optcam connection status message
|
inline |
Pack a ptel control connection status message
|
inline |
Pack a scanner connection status message
|
inline |
Pack a message to send a heartbeat.
| union { ... } gcp::mediator::MasterMsg::body |
A union of message bodies.
| ControlMsg gcp::mediator::MasterMsg::controlMsg |
A message for the control thread.
| OptCamMsg gcp::mediator::MasterMsg::optcamMsg |
A message for the control thread.
| ScannerMsg gcp::mediator::MasterMsg::scannerMsg |
A message for the scanner thread.
| MsgType gcp::mediator::MasterMsg::type |
A type for this message