CARMA C++
|
A container for messages sent to the Drive Task. More...
#include <carma/antenna/sza/antenna/control/AntennaDriveMsg.h>
Public Types | |
enum | MsgType { FLAG_BOARD, PMAC_CONNECTED, TRACKER_MSG } |
Enumerate supported messages for this task. 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 | |
TrackerMsg * | getTrackerMsg () |
void | packFlagBoardMsg (unsigned short board, bool flag) |
void | packPmacConnectedMsg (bool connected) |
![]() | |
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... | |
struct { | |
bool connected | |
} pmacConnected | |
A message that the pmac is dis/connected. More... | |
TrackerMsg trackerMsg | |
A message for the Tracker thread. More... | |
} | body |
A union of supported messages. More... | |
MsgType | type |
The type of this message. More... | |
![]() | |
unsigned long | carmaSeqNo_ |
CarmaSeqNoType | carmaSeqNoType_ |
GenericMsgType | genericMsgType_ |
A type for this message. More... | |
A container for messages sent to the Drive Task.
Definition at line 27 of file AntennaDriveMsg.h.
Enumerate supported messages for this task.
Definition at line 35 of file AntennaDriveMsg.h.
union { ... } sza::antenna::control::AntennaDriveMsg::body |
A union of supported messages.
struct { ... } sza::antenna::control::AntennaDriveMsg::flagBoard |
Flag a board.
struct { ... } sza::antenna::control::AntennaDriveMsg::pmacConnected |
A message that the pmac is dis/connected.
TrackerMsg sza::antenna::control::AntennaDriveMsg::trackerMsg |
A message for the Tracker thread.
Definition at line 71 of file AntennaDriveMsg.h.
MsgType sza::antenna::control::AntennaDriveMsg::type |
The type of this message.
Definition at line 45 of file AntennaDriveMsg.h.