Proxy for the PartitionModule in a DCM crate
Accessors common to all PU
Architectural common member functions for all PU
Simple implementation of RTTI (see note above)
State transitions
virtual functions for generic configuring, starting/updating/continuing a state transition
Proxy for the PartitionModule in a DCM crate. This board defines a collection of DCBs that are common read out. It defines a hardware boundary that the software must respect. Note that the DCMs can be read out in vme mode, which means that the partitioner module is not used at all. We solve this by assuming that we always have (at least) one partitioner in the DCM crate and the first thing to do is to call PAR_RESET, then deal with the DCMs and the last thing to do is to call PAR_ONLINE.The basic state transition functions do nothing for this object. The PAR_RESET command is given by the readout object after the configuration files have been read in by the VxWorks task. The PAR_ONLINE is done after the last DCM has been initialised.
- initialise:
Send the PAR_RESET command. This is invoked by the GTM after the GTM reset. If the GTM stage is disabled, it comes directly from the partition object.- download:
Send PAR_ONLINE after all DCMs have been properly downloaded. (Every dcm calls checkDcmState to declared that it is ready and the par proxy send this event out, when all are done. )- start_run:
Nothing.- end_run:
Nothing.Last update: Feb 1, 2000, CW
Accessors
void setSlot( int slot )
void setServerName( const char *server_name )
void setReadoutMode( const char *mode )
void setRoObject( const char *pRoName )
pstring getRoObject()
int addDcm( DCM *pDcm )
void setSeb( const char* pcSebName )
void setSebPort( int iPort )
pstring getSeb()
int getSebPort()
static void dump_all( ostream &os = cout )
static void listAll( ostream &os = cout )
void identify( ostream &os = cout )
void dump( ostream &os = cout )
state transition functions - to be invoked by the PRST
int configure( const char *cmd, const char *value, const char *aux_param )
int sendParEvent( int iEventId )
int iLastCmdSent
pstring psServerName
pstring psReadoutMode
int iSlot
list <DCM*> listDcm
pstring psRoObject
pstring psSeb
int iSebPort
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de