#include <ConfigurationUtility.h>
Public Types | |
enum | ConfigVarType { BOC_CHANNEL_CONFIG_VAR, BOC_GLOBAL_CONFIG_VAR, MODULE_GLOBAL_CONFIG_VAR, MODULE_CHIP_CONFIG_VAR, MODULE_CHANNEL_CONFIG_VAR, TIM_CONFIG_VAR, TRIGGER_VAR, UNKNOWN_CONFIG_VAR } |
Static Public Member Functions | |
unsigned | diff (const ABCDBasic &first, const ABCDBasic &second, bool print=false) |
check equality of ABCDBasic ignoring any unused bits | |
unsigned | diff (const ABCDConfig &first, const ABCDConfig &second, bool print=false) |
check equality of ABCDChip ignoring any unused bits | |
unsigned | diff (const ABCDCaldata &first, const ABCDCaldata &second, bool print=false) |
check equality of ABCDChip ignoring any unused bits | |
unsigned | diff (const ABCDChip &first, const ABCDChip &second, bool print=false) |
check equality of ABCDChip ignoring any unused bits | |
unsigned | diff (const ABCDModule &first, const ABCDModule &second, bool print=false) |
check equality of ABCDModule ignoring any unused bits | |
unsigned | diffSN (const ABCDModule &first, const ABCDModule &second, bool print=false) |
check equality of ABCDModule serial number | |
std::auto_ptr< ABCDModule > | clone (const ABCDModule &first) |
Clone a module. | |
std::auto_ptr< ABCDBasic > | clone (const ABCDBasic &first) |
Clone the basic part of a chip. | |
void | modifyVar (ABCDModule *module, UINT32 typ, FLOAT32 val) |
set an ABCD module variable: | |
void | modifyVar (ABCDModule *module, unsigned chip, UINT32 typ, FLOAT32 val) |
set an ABCD module chip variable: | |
bool | isBocRegister (UINT32 typ) |
return true if the type is a BOC register | |
bool | isModuleRegister (UINT32 typ) |
return true if the type is a Module register (channel or chip or global) register | |
bool | isTimRegister (UINT32 typ) |
return true if the type is a TIM register | |
std::string | apiBitFieldToString (unsigned bitfield) |
ConfigVarType | variableType (UINT32 typ) |
return true if the type is a BOC register rather than a ABCD register | |
Static Private Member Functions | |
ConfigUtility & | ConfigUtility::instance () |
void | setToken (ABCDModule *module, unsigned token, int link0, int link1) |
INT32 | ConfigUtility::setChipRole (ABCDModule *module, UINT32 theChip, ABCD_ROLES role) |
Private Attributes | |
UINT16 | config_compare_mask |
Definition at line 12 of file ConfigurationUtility.h.
|
Clone the basic part of a chip.
Definition at line 104 of file ConfigurationUtility.h. |
|
Clone a module.
Definition at line 97 of file ConfigurationUtility.h. |
|
check equality of ABCDModule ignoring any unused bits
Definition at line 234 of file ConfigurationUtility.h. |
Here is the call graph for this function:
|
check equality of ABCDChip ignoring any unused bits
Definition at line 193 of file ConfigurationUtility.h. References diff(). |
Here is the call graph for this function:
|
check equality of ABCDChip ignoring any unused bits
Definition at line 166 of file ConfigurationUtility.h. |
|
check equality of ABCDChip ignoring any unused bits
Definition at line 124 of file ConfigurationUtility.h. |
|
check equality of ABCDBasic ignoring any unused bits
Definition at line 139 of file ConfigurationUtility.h. Referenced by diff(). |
|
check equality of ABCDModule serial number
Definition at line 263 of file ConfigurationUtility.h. Referenced by diff(). |
|
return true if the type is a BOC register
Definition at line 285 of file ConfigurationUtility.h. References variableType(). |
Here is the call graph for this function:
|
return true if the type is a Module register (channel or chip or global) register
Definition at line 300 of file ConfigurationUtility.h. References variableType(). Referenced by modifyVar(). |
Here is the call graph for this function:
|
return true if the type is a TIM register
Definition at line 293 of file ConfigurationUtility.h. References variableType(). |
Here is the call graph for this function:
|
set an ABCD module chip variable:
Definition at line 174 of file ConfigurationUtility.cxx. References modifyVar(), and variableType(). |
Here is the call graph for this function:
|
set an ABCD module variable:
Definition at line 75 of file ConfigurationUtility.cxx. References isModuleRegister(), and variableType(). Referenced by modifyVar(). |
Here is the call graph for this function:
|
return true if the type is a BOC register rather than a ABCD register
Definition at line 577 of file ConfigurationUtility.cxx. Referenced by isBocRegister(), isModuleRegister(), isTimRegister(), and modifyVar(). |