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

#include <TrackerBoard.h>

Inheritance diagram for gcp::antenna::control::TrackerBoard:
gcp::antenna::control::Board

Public Member Functions

 TrackerBoard (SpecificShare *share, char *name)
 
bool isNewFrame ()
 
void archivePosition (AxisPositions *current, Position *commanded)
 
void archivePointing (unsigned *archived_ptr, Atmosphere *atmosphere, Model *model, PmacTarget *pmac, Pointing *pointing, Site *site, TrackerOffset *offset, Scan *scan)
 
void archivePointing (unsigned *archived_ptr, Atmosphere *atmosphere, Model *model, PmacTarget *pmac, Pointing *pointing, Site *site, TrackerOffset *offset, Scan *scan, bool servoBusy)
 
void archiveStatus (unsigned state, unsigned offSoruce, unsigned lacking)
 
unsigned char trackerStateToBit (int state)
 
- Public Member Functions inherited from gcp::antenna::control::Board
 Board (SpecificShare *share, std::string name)
 
 Board (SpecificShare *share, gcp::util::AntNum ant)
 
 Board (SpecificShare *share)
 
 Board ()
 
virtual ~Board ()
 
RegMapBlock * findReg (char *name)
 
bool isReachable ()
 
virtual void reset ()
 
int getIndex ()
 
virtual void readRegNoLock (RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
 
virtual void readReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
 
virtual void readReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, float *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, signed char *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned char *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, signed short *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned short *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, int *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned int *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, float *value)
 
virtual void writeRegNoLock (RegMapBlock *blk, unsigned first, unsigned nreg, double *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, signed char *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned char *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, signed short *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned short *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, int *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, unsigned int *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, float *value)
 
virtual void writeReg (RegMapBlock *blk, unsigned first, unsigned nreg, double *value)
 

Additional Inherited Members

- Protected Attributes inherited from gcp::antenna::control::Board
SpecificShareshare_
 
RegMapBoard * board_
 
bool hasBoard_
 

Detailed Description

The registers of the virtual tracker board. This contains details of the tracking computations performed by the Drive Task.

Constructor & Destructor Documentation

TrackerBoard::TrackerBoard ( SpecificShare share,
char *  name 
)

Constructor for the Tracker board class.

Exceptions
(viaBoard::findReg or Board::Board) Exception

....................................................................... Constructor for the Tracker board class.

Member Function Documentation

void TrackerBoard::archivePosition ( AxisPositions current,
Position commanded 
)

Archive the currently requested position.

Exceptions
Exception....................................................................... Archive the current and expected positions of the telescope axes.

Input:

current AxisPositions * The current position of the telescope. commanded Position * The requested position of the telescope.

void TrackerBoard::archiveStatus ( unsigned  state,
unsigned  offSource,
unsigned  lacking 
)

Archive some status information.

....................................................................... Record the current tracking status in the archive database

bool gcp::antenna::control::TrackerBoard::isNewFrame ( )
inline

Return true if the current index is the first in a new frame

unsigned char TrackerBoard::trackerStateToBit ( int  state)

Convert from integer state to a bit mask

....................................................................... Convert from integer state to a bit mask


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