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

The registers of the virtual tracker board. More...

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

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

Public Member Functions

void archivePointing (unsigned *archived_ptr, Atmosphere *atmosphere, Model *model, PmacTarget *pmac, Pointing *pointing, Site *site, TrackerOffset *offset)
 Archive the telescope pointing. More...
 
void archivePosition (AxisPositions *current, Position *commanded)
 Archive the currently requested position. More...
 
void archiveStatus (unsigned state, unsigned off_source, unsigned lacking)
 Archive some status information. More...
 
 TrackerBoard (SzaShare *share, char *name)
 Constructor for the Tracker board class. More...
 
unsigned char trackerStateToBit (int state)
 Convert from integer state to a bit mask. More...
 
- Public Member Functions inherited from sza::antenna::control::Board
 Board (SzaShare *share, std::string name)
 Constructor looks up a board by name and stores a pointer to it in private member board_ (below). More...
 
 Board (SzaShare *share, sza::util::AntNum ant)
 Constructor looks up the rx board corresponding to the requested antenna and stores a pointer to it in private member board_ (below) More...
 
 Board (SzaShare *share)
 Constructor for a virtual board. More...
 
RegMapBlock * findReg (char *name)
 Return a pointer to a register of the board managed by this object. More...
 
int getIndex ()
 Public function to return the index of this board in the register database. More...
 
bool isReachable ()
 Verify that this board is reachable. More...
 
virtual void readReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
 Method to read a register from this board. More...
 
virtual void reset ()
 Function to reset private members of a board-management object. More...
 
virtual void writeReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
 Methods to write to a register of this board. More...
 
virtual void writeReg (RegMapBlock *blk, unsigned int first, unsigned int nreg, bool *value)
 Methods to write to a register of this board. More...
 
virtual ~Board ()
 Declaration of destructor as pure virtual prevents instantiation of this base class. More...
 

Additional Inherited Members

- Protected Attributes inherited from sza::antenna::control::Board
RegMapBoard * board_
 A pointer to the board this object refers to. More...
 
bool hasBoard_
 True if this Board has a real board corresponding to it. More...
 
SzaShareshare_
 The resource object of the shared memory database. More...
 

Detailed Description

The registers of the virtual tracker board.

This contains details of the tracking computations performed by the Drive Task.

Definition at line 32 of file TrackerBoard.h.

Constructor & Destructor Documentation

sza::antenna::control::TrackerBoard::TrackerBoard ( SzaShare share,
char *  name 
)

Constructor for the Tracker board class.

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

Member Function Documentation

void sza::antenna::control::TrackerBoard::archivePointing ( unsigned *  archived_ptr,
Atmosphere atmosphere,
Model model,
PmacTarget *  pmac,
Pointing pointing,
Site site,
TrackerOffset offset 
)

Archive the telescope pointing.

Exceptions
Exception
void sza::antenna::control::TrackerBoard::archivePosition ( AxisPositions current,
Position commanded 
)

Archive the currently requested position.

Exceptions
Exception
void sza::antenna::control::TrackerBoard::archiveStatus ( unsigned  state,
unsigned  off_source,
unsigned  lacking 
)

Archive some status information.

Exceptions
(viaSzaShare::writeReg) Exception
unsigned char sza::antenna::control::TrackerBoard::trackerStateToBit ( int  state)

Convert from integer state to a bit mask.


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