CARMA C++
|
A class to encapsulate messages sent to the Monitor Task. More...
#include <carma/antenna/sza/antenna/control/AntennaMonitorMsg.h>
Public Types | |
enum | MsgType { CONNECT, FLAG_BOARD, PACK_DATAFRAME, DISPATCH_DATAFRAME } |
Enumerate supported AntennaMonitor messages. More... | |
![]() | |
enum | CarmaSeqNoType { NONE, DRIVE, RX, CAL, OPTICS, OPTICALTEL } |
enum | GenericMsgType { HEARTBEAT, STOP, RESTART, TASK_SPECIFIC, LAST } |
Enumerate supported generic message types. More... | |
Public Member Functions | |
void | packConnectMsg () |
Pack a message to connect to the pmac. More... | |
void | packDispatchDataFrameMsg () |
void | packFlagBoardMsg (unsigned short board, bool flag) |
void | packPackDataFrameMsg () |
![]() | |
void | setCarmaCalSequenceNumber (unsigned long seq) |
void | setCarmaDriveSequenceNumber (unsigned long seq) |
void | setCarmaOpticsSequenceNumber (unsigned long seq) |
void | setCarmaRxSequenceNumber (unsigned long seq) |
void | setCarmaSequenceNumber (unsigned long seq=0, CarmaSeqNoType type=NONE) |
Public Attributes | |
union { | |
struct { | |
unsigned short board | |
bool flag | |
} flagBoard | |
Flag a board. More... | |
} | body |
A union of message bodies. More... | |
MsgType | type |
The type of this message. More... | |
![]() | |
unsigned long | carmaSeqNo_ |
CarmaSeqNoType | carmaSeqNoType_ |
GenericMsgType | genericMsgType_ |
A type for this message. More... | |
A class to encapsulate messages sent to the Monitor Task.
Definition at line 21 of file AntennaMonitorMsg.h.
Enumerate supported AntennaMonitor messages.
Definition at line 29 of file AntennaMonitorMsg.h.
void sza::antenna::control::AntennaMonitorMsg::packConnectMsg | ( | ) |
Pack a message to connect to the pmac.
Definition at line 90 of file AntennaMonitorMsg.h.
union { ... } sza::antenna::control::AntennaMonitorMsg::body |
A union of message bodies.
struct { ... } sza::antenna::control::AntennaMonitorMsg::flagBoard |
Flag a board.
MsgType sza::antenna::control::AntennaMonitorMsg::type |
The type of this message.
Definition at line 39 of file AntennaMonitorMsg.h.