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

#include <AntennaRxMsg.h>

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

Public Types

enum  MsgType {
  INVALID, CONNECT, DISCONNECT, READ_DATA,
  WRITE_DATA, RX_CMD
}
 
enum  rxCmdId {
  RX_SETUP_ADC, RX_RESET_FPGA, RX_RESET_FIFO, RX_SET_SWITCH_PERIOD,
  RX_SET_BURST_LENGTH, RX_SET_INTEGRATION_PERIOD, RX_SET_TRIM_LENGTH, RX_ENABLE_SIMULATOR,
  RX_ENABLE_NOISE, RX_ENABLE_WALSHING, RX_ENABLE_ALT_WALSHING, RX_ENABLE_FULL_WALSHING,
  RX_ENABLE_NONLINEARITY, RX_GET_BURST_DATA, RX_ENABLE_ALPHA, RX_SET_ALPHA,
  RX_SET_NONLIN
}
 
- 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 packRxCmdMsg (unsigned cmdId, float fltVal, int stageVal, int channelVal)
 

Public Attributes

MsgType type
 
double currTime_
 
union {
   struct {
      unsigned   cmdId
 
      float   fltVal
 
      int   chanVal
 
      int   stageVal
 
   }   rx
 
body
 
- Public Attributes inherited from gcp::util::GenericTaskMsg
GenericMsgType genericMsgType_
 

Detailed Description

Class to encapsulate messages send to the Rx task

Member Enumeration Documentation

Enumerate supported AntennaRx messages

Member Data Documentation

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

Define a Message container

double gcp::antenna::control::AntennaRxMsg::currTime_

Time of request

MsgType gcp::antenna::control::AntennaRxMsg::type

The type of this message


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