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

Public Types

enum  MsgType {
  FLAG_ANTENNA, INIT, BEGIN_INIT, END_INIT,
  NETCMD, ANTENNA_MASTER_MSG, WEATHER
}
 
- Public Types inherited from gcp::util::GenericTaskMsg
enum  GenericMsgType {
  HEARTBEAT, STOP, RESTART, TASK_SPECIFIC,
  LAST
}
 

Public Member Functions

gcp::antenna::control::AntennaMasterMsggetMasterMsg ()
 
void packBeginInitMsg ()
 
void packEndInitMsg ()
 
void packInitMsg (bool start)
 
void packFlagAntennaMsg (unsigned antenna, bool flag)
 
void packRtcNetCmdMsg (gcp::control::RtcNetCmd *cmd, gcp::control::NetCmdId opcode)
 

Public Attributes

MsgType type
 
union {
   struct {
      unsigned   antenna
 
      bool   flag
 
   }   flagAntenna
 
   struct {
      bool   start
 
   }   init
 
   struct {
      gcp::control::NetCmdId   opcode
 
      gcp::control::RtcNetCmd   cmd
 
   }   netCmd
 
   gcp::antenna::control::AntennaMasterMsg   antennaMasterMsg
 
body
 
gcp::util::AntNum::Id antennas
 
bool init_
 
- Public Attributes inherited from gcp::util::GenericTaskMsg
GenericMsgType genericMsgType_
 

Member Enumeration Documentation

Enumerate supported message types.

Member Function Documentation

void gcp::mediator::AntennaControlMsg::packBeginInitMsg ( )
inline

A method for packing a message that we are beginning an init script

void gcp::mediator::AntennaControlMsg::packEndInitMsg ( )
inline

A method for packing a message that we are ending an init script

void gcp::mediator::AntennaControlMsg::packFlagAntennaMsg ( unsigned  antenna,
bool  flag 
)
inline

A method for packing a message to flag an antenna as un/reachable

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

A method for packing an init message

void gcp::mediator::AntennaControlMsg::packRtcNetCmdMsg ( gcp::control::RtcNetCmd cmd,
gcp::control::NetCmdId  opcode 
)
inline

A method for packing a net command.

Member Data Documentation

gcp::antenna::control::AntennaMasterMsg gcp::mediator::AntennaControlMsg::antennaMasterMsg

A message for the receiver task.

gcp::util::AntNum::Id gcp::mediator::AntennaControlMsg::antennas

A bit set of antennas to which this message applies.

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

The contents of the message.

struct { ... } gcp::mediator::AntennaControlMsg::flagAntenna

Flag a set of antennas as (un)reachable

struct { ... } gcp::mediator::AntennaControlMsg::init

Tell the antenna control task we are starting/finishing an initialization sequence

bool gcp::mediator::AntennaControlMsg::init_

True if this is a command generated by an initialization script.

struct { ... } gcp::mediator::AntennaControlMsg::netCmd

A network command forwarded unmodified from the ACC

MsgType gcp::mediator::AntennaControlMsg::type

A type for this message


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