My Project
|
#include <GenericTaskMsg.h>
Public Types | |
enum | GenericMsgType { HEARTBEAT, STOP, RESTART, TASK_SPECIFIC, LAST } |
Public Attributes | |
GenericMsgType | genericMsgType_ |
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.
Enumerate supported generic message types.
GenericMsgType gcp::util::GenericTaskMsg::genericMsgType_ |
A type for this message