SctApi::PrimBuilder Class Reference

Collaboration diagram for SctApi::PrimBuilder:

Collaboration graph
[legend]

Public Member Functions

void slavePrimList (boost::shared_ptr< PrimListWrapper > primList, boost::shared_ptr< PrimListWrapper > prim, unsigned int slaveNumber, bool await, bool response)
 Put a send slave list primitive into a primitive list Follow it by a start list primitive.
void startSlaveList (boost::shared_ptr< PrimListWrapper > primList, unsigned int slaveNumber, bool await, bool response)
void echo (boost::shared_ptr< PrimListWrapper > prim, Utility::MemoryBlock block)
void flashLed (boost::shared_ptr< PrimListWrapper > prim, int period, int flashes)
void startSlave (boost::shared_ptr< PrimListWrapper > prim, int s)
void readFifo (boost::shared_ptr< PrimListWrapper > prim, int id, int bank, int elems)
void pollRegister (boost::shared_ptr< PrimListWrapper > prim, int r, int off, int width, int val, int timeout)
void taskOp (boost::shared_ptr< PrimListWrapper > prim, int typ, int op, int data)
void readRegister (boost::shared_ptr< PrimListWrapper > prim, int r)
void writeRegister (boost::shared_ptr< PrimListWrapper > prim, int r, int off, int wid, int value)
void buildStream (boost::shared_ptr< PrimListWrapper > primList, int port)
void sendStream (boost::shared_ptr< PrimListWrapper > primList, int cmdBuff, bool capture=0)
void startEvTrap (boost::shared_ptr< PrimListWrapper > primList)
void stopEvTrap (boost::shared_ptr< PrimListWrapper > primList)
void setMemory (boost::shared_ptr< PrimListWrapper > primList, unsigned long address, unsigned long words, long value)
void readSlaveMemory (boost::shared_ptr< PrimListWrapper > primList, unsigned long slave, unsigned long address, unsigned long words)
void writeSlaveMemory (boost::shared_ptr< PrimListWrapper > primList, unsigned long slave, unsigned long address, unsigned long words, unsigned long *data)
void readModuleData (boost::shared_ptr< PrimListWrapper > primList, int bank, int channel)
void writeModuleData (boost::shared_ptr< PrimListWrapper > primList, const ABCDModule *module, int cfgset_bits, int channel, UINT32 moduleParts)
void copyModuleData (boost::shared_ptr< PrimListWrapper > primList, int from_bank, UINT32 to_banks_bitset, int channel)
void sendConfig (boost::shared_ptr< PrimListWrapper >, int port, int capture, int module0, int module1, int chip, int setLinks, int restore, int bank, int group, int data, int active, int enableData)
void writeModuleVariable (boost::shared_ptr< PrimListWrapper >, UINT32 dsp_bank_set, int group, int module, int chip, int type, float val)
void rodMode (boost::shared_ptr< PrimListWrapper > rodModeList, int mode, int flag, int fifoSetup, int nBits, int delay, int message)
void moduleMask (boost::shared_ptr< PrimListWrapper > maskList, int module, int port, int useStructSet, int passOn, int slvs, int cmdLine, int dataLine0, int dataLine1, int cfg, int modMask0, int modMask1, int maskType, int storage, int maskSet)
 Use the generic module mask primitive.
void masksFromConfig (boost::shared_ptr< PrimListWrapper > maskList, int port)
 Using the module mask primitive: Set up the mask structure from module configurations.
void masksToSlaves (boost::shared_ptr< PrimListWrapper > maskList, int slvBits)
 Using the module mask primitive: Send the mask structure to the slaves.
void masksConfig (boost::shared_ptr< PrimListWrapper > maskList, int moduleMask[2], int port, int maskType, int command, int maskSet)
 Using the module mask primitive: Apply various commands, which move parts of masks between the mask structure, the mask sets and the frontend ROD registers.
void masksUpdate (boost::shared_ptr< PrimListWrapper > maskList, int moduleMask[2], int port, int maskType, int maskSet)
 Using the module mask primitive: Apply UPDATE command, which updates module masks in mask set according to maskType.
void masksConfigModule (boost::shared_ptr< PrimListWrapper > maskList, int module, int cmd, int rx0, int rx1)
 Using the module mask primitive: Configure part of module mask structure from the module configurations.
void bocHistogram (boost::shared_ptr< PrimListWrapper > primList, int delay, int width, int numEvents, struct::CmdList trigger, int port)
void setTrigger (boost::shared_ptr< PrimListWrapper > primList, int currentBin, int histogramSet)

Static Public Member Functions

static PrimBuilderinstance ()

Static Public Attributes

static PrimBuildersingleton

Protected Member Functions

 PrimBuilder ()

Private Member Functions

 PrimBuilder (const PrimBuilder &)
PrimBuilderoperator= (const PrimBuilder &)

Detailed Description

Definition at line 16 of file PrimBuilder.h.


Member Function Documentation

void PrimBuilder::masksConfig boost::shared_ptr< PrimListWrapper maskList,
int  moduleMask[2],
int  port,
int  maskType,
int  command,
int  maskSet
 

Using the module mask primitive: Apply various commands, which move parts of masks between the mask structure, the mask sets and the frontend ROD registers.

Definition at line 337 of file PrimBuilder.cxx.

References moduleMask().

Here is the call graph for this function:

void PrimBuilder::masksConfigModule boost::shared_ptr< PrimListWrapper maskList,
int  module,
int  cmd,
int  rx0,
int  rx1
 

Using the module mask primitive: Configure part of module mask structure from the module configurations.

Definition at line 349 of file PrimBuilder.cxx.

References moduleMask().

Here is the call graph for this function:

void PrimBuilder::masksFromConfig boost::shared_ptr< PrimListWrapper maskList,
int  port
 

Using the module mask primitive: Set up the mask structure from module configurations.

Definition at line 317 of file PrimBuilder.cxx.

References moduleMask().

Referenced by SctApi::setupModuleMask().

Here is the call graph for this function:

void PrimBuilder::masksToSlaves boost::shared_ptr< PrimListWrapper maskList,
int  slvBits
 

Using the module mask primitive: Send the mask structure to the slaves.

Definition at line 326 of file PrimBuilder.cxx.

References moduleMask().

Referenced by SctApi::setupModuleMask().

Here is the call graph for this function:

void SctApi::PrimBuilder::masksUpdate boost::shared_ptr< PrimListWrapper maskList,
int  moduleMask[2],
int  port,
int  maskType,
int  maskSet
 

Using the module mask primitive: Apply UPDATE command, which updates module masks in mask set according to maskType.

void PrimBuilder::moduleMask boost::shared_ptr< PrimListWrapper maskList,
int  module,
int  port,
int  useStructSet,
int  passOn,
int  slvs,
int  cmdLine,
int  dataLine0,
int  dataLine1,
int  cfg,
int  modMask0,
int  modMask1,
int  maskType,
int  storage,
int  maskSet
 

Use the generic module mask primitive.

Definition at line 284 of file PrimBuilder.cxx.

Referenced by masksConfig(), masksConfigModule(), masksFromConfig(), and masksToSlaves().

void PrimBuilder::slavePrimList boost::shared_ptr< PrimListWrapper primList,
boost::shared_ptr< PrimListWrapper prim,
unsigned int  slaveNumber,
bool  await,
bool  response
 

Put a send slave list primitive into a primitive list Follow it by a start list primitive.

Definition at line 18 of file PrimBuilder.cxx.

Referenced by SctApi::sendSlavePrimList(), SctApi::setSlaveBlock(), SctApi::setupEventDump(), SctApi::startEventTrap(), and SctApi::stopEventTrap().


The documentation for this class was generated from the following files:
Generated on Mon Feb 6 14:04:35 2006 for SCT DAQ/DCS Software - C++ by  doxygen 1.4.6