SctApi::Utility Namespace Reference


Data Structures

class  MemoryBlock

Functions

void printMemoryBlock (ostream &os, unsigned long *mem, unsigned long words, int wordsPerLine, int level)
UINT32 translateConfigTypeBitset (UINT32 api_bits, bool verbose=false)
 Translate bitset of multiple SctApi::ConfigType's into bitset of config type for get, set and copy primitives.
UINT32 getSetableConfigType (UINT32 cfgType, bool verbose=false)
 Only some sub-structures of ABCDModule can actually be set as primitives.
unsigned translateConfigTypeForSendPrimitive (ConfigType cfg)
 Translate single SctApi::ConfigType into config type for send primitives.
unsigned translateConfigType (ConfigType cfg)
 Translate single SctApi::ConfigType into config type for get, set and copy primitives.
UINT32 translateApiBanksToRodCfgBitSet (std::list< BankType > banks)
unsigned translateChip (unsigned chip)
 Translate chip from 0->11 format into M0 -> E13 format.
int translateBank (BankType bank)
UINT32 EfbErrorMask (UINT32 efb, UINT32 link)
void getpcrc (UINT32 mid, unsigned int &partition, unsigned int &crate, unsigned int &rod, unsigned &channel)
UINT32 packpcrc (unsigned int &partition, unsigned int &crate, unsigned int &rod, unsigned &channel)
void printHex (UINT32 num, int width)
void printMemoryBlock (std::ostream &os, unsigned long *mem, unsigned long words, int wordsPerLine, int level=0)
void decodeVme (VmeException &e)
void decodeVme (SctPixelRod::VmeException &e)


Function Documentation

UINT32 SctApi::Utility::getSetableConfigType UINT32  cfgType,
bool  verbose = false
 

Only some sub-structures of ABCDModule can actually be set as primitives.

This function returns the smallest setable sub-structure bigger than the the parts you want to send.

Definition at line 76 of file utility.cxx.

References getSetableConfigType().

Referenced by getSetableConfigType(), and SctApi::really_setABCDModule().

Here is the call graph for this function:

unsigned SctApi::Utility::translateChip unsigned  chip  ) 
 

Translate chip from 0->11 format into M0 -> E13 format.

Definition at line 153 of file utility.cxx.

References translateChip().

Referenced by SctApi::modifyABCDVarROD(), and translateChip().

Here is the call graph for this function:

unsigned SctApi::Utility::translateConfigType ConfigType  cfg  ) 
 

Translate single SctApi::ConfigType into config type for get, set and copy primitives.

Definition at line 111 of file utility.cxx.

References translateConfigType().

Referenced by translateConfigType(), and translateConfigTypeBitset().

Here is the call graph for this function:

UINT32 SctApi::Utility::translateConfigTypeBitset UINT32  api_bits,
bool  verbose = false
 

Translate bitset of multiple SctApi::ConfigType's into bitset of config type for get, set and copy primitives.

Definition at line 60 of file utility.cxx.

References translateConfigType(), and translateConfigTypeBitset().

Referenced by SctApi::really_setABCDModule(), and translateConfigTypeBitset().

Here is the call graph for this function:

unsigned SctApi::Utility::translateConfigTypeForSendPrimitive ConfigType  cfg  ) 
 

Translate single SctApi::ConfigType into config type for send primitives.

Definition at line 96 of file utility.cxx.

References translateConfigTypeForSendPrimitive().

Referenced by SctApi::sendABCDModule(), and translateConfigTypeForSendPrimitive().

Here is the call graph for this function:


Generated on Mon Feb 6 14:04:53 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6