CARMA C++
|
A class to encapsulate message types for a generic task. More...
#include <carma/szautil/GenericTaskMsg.h>
Public Types | |
enum | CarmaSeqNoType { NONE, DRIVE, RX, CAL, OPTICS, OPTICALTEL } |
enum | GenericMsgType { HEARTBEAT, STOP, RESTART, TASK_SPECIFIC, LAST } |
Enumerate supported generic message types. More... | |
Public Attributes | |
unsigned long | carmaSeqNo_ |
CarmaSeqNoType | carmaSeqNoType_ |
GenericMsgType | genericMsgType_ |
A type for this message. More... | |
A class to encapsulate message types for a generic task.
Classes which extend from this class should simply add whatever members are required to process additional task-specific messages, for instance a union of task-specific messages.
NB: There is no explicit constructor for this class, since the compiler won't allow classes with constructors to be included as members of unions. This means that we cannot construct unions using objects which inherit from GenericTaskMsg unless they also don't have constructors.
Definition at line 31 of file GenericTaskMsg.h.
Enumerate supported generic message types.
Definition at line 38 of file GenericTaskMsg.h.
GenericMsgType sza::util::GenericTaskMsg::genericMsgType_ |
A type for this message.
Definition at line 50 of file GenericTaskMsg.h.