My Project
|
Public Member Functions | |
RegParser (bool archivedOnly_=false) | |
virtual | ~RegParser () |
std::vector< RegDescription > | inputRegs (std::string regStr, RegInputMode mode=REG_INPUT_RANGE, bool tell=true, bool extend=true, bool splitIndices=false) |
std::vector< RegDescription > | inputRegs (std::string regStr, ArrayMap *arrayMap, RegInputMode mode, bool tell, bool extend, bool splitIndices=false, bool doThrow=true) |
std::vector< RegDescription > | inputRegs (InputStream *stream, bool tell, ArrayMap *arraymap, RegInputMode mode, bool extend, bool splitIndices=false, bool doThrow=true) |
RegDescription | inputReg (std::string regStr, RegInputMode mode=REG_INPUT_RANGE, bool tell=true, bool extend=true) |
RegDescription | inputReg (InputStream *stream, bool tell, RegInputMode mode, bool extend, ArrayMap *arraymap=0) |
RegValidity | validity () |
Static Public Member Functions | |
static unsigned | getSize (RegMapBlock *block, RegAspect aspect, bool extend) |
RegParser::RegParser | ( | bool | archivedOnly = false | ) |
Constructor.
If archivedOnly = true, byte offset calculations, etc. will be done wrt the archived array map. If false, they will be done wrt the whole array map.
....................................................................... Constructor.
|
virtual |
Destructor.
....................................................................... Destructor.
|
static |
Return the size in slots of each register element
....................................................................... Return the size in slots of each register element
RegDescription RegParser::inputReg | ( | std::string | regStr, |
RegInputMode | mode = REG_INPUT_RANGE , |
||
bool | tell = true , |
||
bool | extend = true |
||
) |
Parse a single register block description
....................................................................... Convenience method that uses an internal arraymap and constructs the stream for an input string.
RegDescription RegParser::inputReg | ( | InputStream * | stream, |
bool | tell, | ||
RegInputMode | mode, | ||
bool | extend, | ||
ArrayMap * | arrayMap = 0 |
||
) |
Parse a single register block description
....................................................................... Parse a single reg
vector< RegDescription > RegParser::inputRegs | ( | std::string | regStr, |
RegInputMode | mode = REG_INPUT_RANGE , |
||
bool | tell = true , |
||
bool | extend = true , |
||
bool | split = false |
||
) |
Parse a register block description
....................................................................... Convenience method that uses internal arraymap and constructs the stream for an input string.
vector< RegDescription > RegParser::inputRegs | ( | std::string | regStr, |
ArrayMap * | arrayMap, | ||
RegInputMode | mode, | ||
bool | tell, | ||
bool | extend, | ||
bool | split = false , |
||
bool | doThrow = true |
||
) |
Convenience method that uses external arraymap and constructs the stream for an input string.
....................................................................... Convenience method that uses external arraymap and constructs the stream for an input string.
std::vector< RegDescription > RegParser::inputRegs | ( | InputStream * | stream, |
bool | tell, | ||
ArrayMap * | arraymap, | ||
RegInputMode | mode, | ||
bool | extend, | ||
bool | splitIndices = false , |
||
bool | doThrow = true |
||
) |
Parse a register block description.
If splitIndices = true, and multiple indices are specified for all but the fastest-changing index, this will return separate descriptors for each index specified. ie:
receiver.bolometers.ac[0-3][0-99]
would return 4 descriptors instead of one.
|
inline |
Return the validity flag for the last register read