My Project
|
#include <Board.h>
Public Member Functions | |
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) |
Protected Attributes | |
SpecificShare * | share_ |
RegMapBoard * | board_ |
bool | hasBoard_ |
A class which encapsulates resources of a board of the shared register map.
gcp::antenna::control::Board::Board | ( | SpecificShare * | share, |
std::string | name | ||
) |
Constructor looks up a board by name and stores a pointer to it in private member board_ (below).
Exception |
Board::Board | ( | SpecificShare * | share, |
gcp::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)
Exception | ....................................................................... Constructor function |
Board::Board | ( | SpecificShare * | share | ) |
Constructor for a virtual board
Exception | ....................................................................... Constructor function for a virtual board |
Board::Board | ( | ) |
....................................................................... Constructor function
|
virtual |
Declaration of destructor as pure virtual prevents instantiation of this base class
....................................................................... Empty function body for the virtual destructor
RegMapBlock * Board::findReg | ( | char * | name | ) |
Return a pointer to a register of the board managed by this object.
Exception | ....................................................................... Look up a register of this board |
int Board::getIndex | ( | ) |
Public function to return the index of this board in the register database
....................................................................... Return the index of this board in the register database
bool Board::isReachable | ( | ) |
Verify that this board is reachable.
(indirectly) | Exception |
....................................................................... A public function to verify that this board is reachable
|
virtual |
....................................................................... Method to read a register from this board.
|
virtual |
Method to read a register from this board.
|
inlinevirtual |
Function to reset private members of a board-management object. Should be overwritten by classes which inherit from Board
Exception |
Reimplemented in gcp::antenna::control::FrameBoard.
|
virtual |
Methods to write to a register of this board.
|
protected |
A pointer to the board this object refers to.
|
protected |
True if this Board has a real board corresponding to it.
|
protected |
The resource object of the shared memory database