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

#include <AntennaDriveMsg.h>

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

Public Types

enum  MsgType { FLAG_BOARD, DRIVE_CONNECTED, POLL_GPS_STATUS, TRACKER_MSG }
 
- Public Types inherited from gcp::util::GenericTaskMsg
enum  GenericMsgType {
  HEARTBEAT, STOP, RESTART, TASK_SPECIFIC,
  LAST
}
 

Public Member Functions

TrackerMsggetTrackerMsg ()
 
AntennaDriveMsgpackShutdownDriveMsg ()
 
AntennaDriveMsgpackPollGpsStatusMsg ()
 
void packFlagBoardMsg (unsigned short board, bool flag)
 
void packDriveConnectedMsg (bool connected)
 

Public Attributes

MsgType type
 
union {
   struct {
      unsigned short   board
 
      bool   flag
 
   }   flagBoard
 
   struct {
      bool   connected
 
   }   driveConnected
 
   TrackerMsg   trackerMsg
 
body
 
- Public Attributes inherited from gcp::util::GenericTaskMsg
GenericMsgType genericMsgType_
 

Detailed Description

A container for messages sent to the Drive Task.

Member Enumeration Documentation

Enumerate supported messages for this task

Member Data Documentation

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

A union of supported messages

struct { ... } gcp::antenna::control::AntennaDriveMsg::driveConnected

A message that the pmac is dis/connected

struct { ... } gcp::antenna::control::AntennaDriveMsg::flagBoard

Flag a board.

TrackerMsg gcp::antenna::control::AntennaDriveMsg::trackerMsg

A message for the Tracker thread.

MsgType gcp::antenna::control::AntennaDriveMsg::type

The type of this message


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