11 #include "carma/szaarrayutils/regmap.h"
65 RegMapBlock*
findReg(
char* name);
92 virtual void readReg(RegMapBlock* blk,
unsigned int first,
93 unsigned int nreg,
unsigned int* value);
98 virtual void writeReg(RegMapBlock* blk,
unsigned int first,
99 unsigned int nreg,
unsigned int* value);
104 virtual void writeReg(RegMapBlock* blk,
unsigned int first,
105 unsigned int nreg,
bool* value);
A class to enumerate a single Antenna, or a set of Antennas.
virtual ~Board()
Declaration of destructor as pure virtual prevents instantiation of this base class.
Board(SzaShare *share, std::string name)
Constructor looks up a board by name and stores a pointer to it in private member board_ (below)...
bool hasBoard_
True if this Board has a real board corresponding to it.
virtual void writeReg(RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
Methods to write to a register of this board.
RegMapBoard * board_
A pointer to the board this object refers to.
virtual void readReg(RegMapBlock *blk, unsigned int first, unsigned int nreg, unsigned int *value)
Method to read a register from this board.
Tagged: Fri Nov 14 12:39:31 UTC 2003.
A class which encapsulates resources of a board of the shared register map.
bool isReachable()
Verify that this board is reachable.
int getIndex()
Public function to return the index of this board in the register database.
RegMapBlock * findReg(char *name)
Return a pointer to a register of the board managed by this object.
virtual void reset()
Function to reset private members of a board-management object.
An instance of this class is created by AntennaMaster and passed to the constructors of other tasks...
SzaShare * share_
The resource object of the shared memory database.