My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::mediator::ControlMsg Class Reference
Inheritance diagram for gcp::mediator::ControlMsg:
gcp::util::GenericTaskMsg

Public Types

enum  MsgType {
  CONNECT, INIT, NETMSG, ANTENNA_CONTROL_MSG,
  GRABBER_CONTROL_MSG, WX_CONTROL_MSG, RECEIVER_CONTROL_MSG
}
 
- Public Types inherited from gcp::util::GenericTaskMsg
enum  GenericMsgType {
  HEARTBEAT, STOP, RESTART, TASK_SPECIFIC,
  LAST
}
 

Public Member Functions

AntennaControlMsggetAntennaControlMsg ()
 
GrabberControlMsggetGrabberControlMsg ()
 
ReceiverControlMsggetReceiverControlMsg ()
 
WxControlMsggetWxControlMsg ()
 
void packConnectMsg ()
 
void packInitMsg (bool start)
 
gcp::util::NetMsggetNetMsg ()
 

Public Attributes

MsgType type
 
union {
   struct {
      bool   start
 
   }   init
 
   gcp::util::NetMsg   networkMsg
 
   AntennaControlMsg   antennaControlMsg
 
   GrabberControlMsg   grabberControlMsg
 
   ReceiverControlMsg   receiverControlMsg
 
   WxControlMsg   wxControlMsg
 
body
 
- Public Attributes inherited from gcp::util::GenericTaskMsg
GenericMsgType genericMsgType_
 

Member Enumeration Documentation

Enumerate supported message types.

Member Function Documentation

gcp::util::NetMsg* gcp::mediator::ControlMsg::getNetMsg ( )
inline

Method to get a pointer to the NetMsg

void gcp::mediator::ControlMsg::packConnectMsg ( )
inline

Method to pack a message to send a data frame.

void gcp::mediator::ControlMsg::packInitMsg ( bool  start)
inline

Method to pack a message to send a data frame.

Member Data Documentation

AntennaControlMsg gcp::mediator::ControlMsg::antennaControlMsg

A message for the antenna control thread.

union { ... } gcp::mediator::ControlMsg::body

The contents of the message.

GrabberControlMsg gcp::mediator::ControlMsg::grabberControlMsg

A message for the grabber control thread.

ReceiverControlMsg gcp::mediator::ControlMsg::receiverControlMsg

A message for the receiver control thread.

MsgType gcp::mediator::ControlMsg::type

A type for this message

WxControlMsg gcp::mediator::ControlMsg::wxControlMsg

A message for the wx control thread.


The documentation for this class was generated from the following file: