|
My Project
|
#include <AntennaRoachMsg.h>
Public Types | |
| enum | MsgType { INVALID, CONNECT, DISCONNECT, READ_DATA, WRITE_DATA, ROACH_CMD } |
| enum | roachCmdId { ROACH_COMMAND } |
Public Types inherited from gcp::util::GenericTaskMsg | |
| enum | GenericMsgType { HEARTBEAT, STOP, RESTART, TASK_SPECIFIC, LAST } |
Public Member Functions | |
| void | packReadDataMsg () |
| void | packWriteDataMsg (gcp::util::TimeVal &currTime) |
| void | packConnectMsg () |
| void | packDisconnectMsg () |
| void | packRoachCmdMsg (float fltVal, int roachNumber, char *stringCommand) |
Public Attributes | |
| MsgType | type |
| double | currTime_ |
| union { | |
| struct { | |
| unsigned cmdId | |
| char * stringCommand | |
| float fltVal | |
| int roachNum | |
| } roach | |
| } | body |
Public Attributes inherited from gcp::util::GenericTaskMsg | |
| GenericMsgType | genericMsgType_ |
Class to encapsulate messages send to the Roach task
Enumerate supported AntennaRoach messages
| union { ... } gcp::antenna::control::AntennaRoachMsg::body |
Define a Message container
| double gcp::antenna::control::AntennaRoachMsg::currTime_ |
Time of request
| MsgType gcp::antenna::control::AntennaRoachMsg::type |
The type of this message