CARMA C++
sza::antenna::control::AntennaMonitorMsg Class Reference

A class to encapsulate messages sent to the Monitor Task. More...

#include <carma/antenna/sza/antenna/control/AntennaMonitorMsg.h>

Inheritance diagram for sza::antenna::control::AntennaMonitorMsg:
sza::util::GenericTaskMsg

Public Types

enum  MsgType { CONNECT, FLAG_BOARD, PACK_DATAFRAME, DISPATCH_DATAFRAME }
 Enumerate supported AntennaMonitor messages. More...
 
- Public Types inherited from sza::util::GenericTaskMsg
enum  CarmaSeqNoType {
  NONE, DRIVE, RX, CAL,
  OPTICS, OPTICALTEL
}
 
enum  GenericMsgType {
  HEARTBEAT, STOP, RESTART, TASK_SPECIFIC,
  LAST
}
 Enumerate supported generic message types. More...
 

Public Member Functions

void packConnectMsg ()
 Pack a message to connect to the pmac. More...
 
void packDispatchDataFrameMsg ()
 
void packFlagBoardMsg (unsigned short board, bool flag)
 
void packPackDataFrameMsg ()
 
- Public Member Functions inherited from sza::util::GenericTaskMsg
void setCarmaCalSequenceNumber (unsigned long seq)
 
void setCarmaDriveSequenceNumber (unsigned long seq)
 
void setCarmaOpticsSequenceNumber (unsigned long seq)
 
void setCarmaRxSequenceNumber (unsigned long seq)
 
void setCarmaSequenceNumber (unsigned long seq=0, CarmaSeqNoType type=NONE)
 

Public Attributes

union {
   struct {
      unsigned short   board
 
      bool   flag
 
   }   flagBoard
 

Flag a board. More...

 
body
 A union of message bodies. More...
 
MsgType type
 The type of this message. More...
 
- Public Attributes inherited from sza::util::GenericTaskMsg
unsigned long carmaSeqNo_
 
CarmaSeqNoType carmaSeqNoType_
 
GenericMsgType genericMsgType_
 A type for this message. More...
 

Detailed Description

A class to encapsulate messages sent to the Monitor Task.

Definition at line 21 of file AntennaMonitorMsg.h.

Member Enumeration Documentation

Enumerate supported AntennaMonitor messages.

Definition at line 29 of file AntennaMonitorMsg.h.

Member Function Documentation

void sza::antenna::control::AntennaMonitorMsg::packConnectMsg ( )

Pack a message to connect to the pmac.

Definition at line 90 of file AntennaMonitorMsg.h.

Member Data Documentation

union { ... } sza::antenna::control::AntennaMonitorMsg::body

A union of message bodies.

struct { ... } sza::antenna::control::AntennaMonitorMsg::flagBoard


Flag a board.

MsgType sza::antenna::control::AntennaMonitorMsg::type

The type of this message.

Definition at line 39 of file AntennaMonitorMsg.h.


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