My Project
 All Classes Files Functions Variables Enumerations Enumerator Friends Macros Pages
gcp::antenna::control::AntennaRoachMsg Class Reference

#include <AntennaRoachMsg.h>

Inheritance diagram for gcp::antenna::control::AntennaRoachMsg:
gcp::util::GenericTaskMsg

Public Types

enum  MsgType {
  INVALID, CONNECT, DISCONNECT, READ_DATA,
  WRITE_DATA, ROACH_CMD
}
 
enum  roachCmdId { ROACH_COMMAND }
 
- Public Types inherited from gcp::util::GenericTaskMsg
enum  GenericMsgType {
  HEARTBEAT, STOP, RESTART, TASK_SPECIFIC,
  LAST
}
 

Public Member Functions

void packReadDataMsg ()
 
void packWriteDataMsg (gcp::util::TimeVal &currTime)
 
void packConnectMsg ()
 
void packDisconnectMsg ()
 
void packRoachCmdMsg (float fltVal, int roachNumber, char *stringCommand)
 

Public Attributes

MsgType type
 
double currTime_
 
union {
   struct {
      unsigned   cmdId
 
      char *   stringCommand
 
      float   fltVal
 
      int   roachNum
 
   }   roach
 
body
 
- Public Attributes inherited from gcp::util::GenericTaskMsg
GenericMsgType genericMsgType_
 

Detailed Description

Class to encapsulate messages send to the Roach task

Member Enumeration Documentation

Member Data Documentation

union { ... } gcp::antenna::control::AntennaRoachMsg::body

Define a Message container

double gcp::antenna::control::AntennaRoachMsg::currTime_

Time of request

MsgType gcp::antenna::control::AntennaRoachMsg::type

The type of this message


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