My Project
|
#include <AntennaRoachMsg.h>
Public Types | |
enum | MsgType { INVALID, CONNECT, DISCONNECT, READ_DATA, WRITE_DATA, ROACH_CMD } |
enum | roachCmdId { ROACH_COMMAND } |
![]() | |
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 |
![]() | |
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