QPulserGroup Class Reference

List of all members.

Detailed Description

group of pulser channels that will fire at the same time

Author:
sergio.didomizio@ge.infn.it
Given the pulser hardware, two channels belonging to the same board cannot fire at the same time. Therefore a time delay must be introduced among pulser channels from the same board. This class is a simple collection of pulses that can fire at the same time (i.e. they belong to different board).


Public Member Functions

bool AddChannel (QPulserChannel *ch)
 add pulser channel to group
unsigned int GetDelay () const
 get delay index associated to current group
void SetDelay (unsigned short delay)
 set delay for this group
const std::vector< QPulserChannel * > & GetChannels () const
 get const reference to pulser channels vector
QTimer< class QPulserController > * GetDelayTimer ()
 get delay timer associated to this pulser group
const unsigned short & GetGroupId () const

Private Attributes

unsigned short fDelay
QTimer< QPulserControllerfDelayTimer
std::vector< QPulserChannel * > fChannels
unsigned short fGroupId

Static Private Attributes

static unsigned short gGroupIdCtr


Member Function Documentation

bool QPulserGroup::AddChannel ( QPulserChannel *  ch  ) 

add pulser channel to group

Parameters:
ch pointer to QPulserChannel object to be added
Returns:
always true, unless requested pointer already exist in group


Member Data Documentation

unsigned short QPulserGroup::fDelay [private]

delay in ms


The documentation for this class was generated from the following files:
Generated on Fri Mar 6 13:40:44 2009 for CUORE Software by  doxygen 1.5.1