QGuiPulserController Class Reference

Inheritance diagram for QGuiPulserController:

QBasePulserController

List of all members.


Detailed Description

main class for pulser sequence control (gui mode)

Author:
sergio.didomizio@ge.infn.it

Public Member Functions

 QGuiPulserController ()
 ctor
virtual ~QGuiPulserController ()
 dtor
void Init (int settingsBasket, const QPulserGroupList *groups=NULL)
 read configuration from db and init everything
bool WaitForStop (int timeoutSec)
 wait up to timeoutSec for event dispatch loop to exit

Protected Member Functions

virtual void HandleTimeOutChild ()
virtual void StorePulseId (unsigned int pulseId)

Private Member Functions

void BuildGroups (const QPulserGroupList &groups)
 build pulser groups from external object

Private Attributes

unsigned int fLastPulseId
QGuiSharedMemoryfSharedMemory

Member Function Documentation

void QGuiPulserController::Init ( int  settingsBasket,
const QPulserGroupList groups = NULL 
)

bool QGuiPulserController::WaitForStop ( int  timeoutSec  ) 

wait up to timeoutSec for event dispatch loop to exit

Returns:
true if loop exited before timeout elapsed, false otherwise

References QTimerDispatcher::GetInstance(), and QTimerDispatcher::ThreadDone().

Referenced by QPulserGuiInterface::Stop().

void QGuiPulserController::HandleTimeOutChild (  )  [protected, virtual]

virtual void QGuiPulserController::StorePulseId ( unsigned int  pulseId  )  [inline, protected, virtual]

needed to notify to gui classes that a pulse fired

Reimplemented from QBasePulserController.

References fLastPulseId.


Member Data Documentation

unsigned int QGuiPulserController::fLastPulseId [private]

used to notify gui classes that a pulse fired

Referenced by HandleTimeOutChild(), and StorePulseId().

used to notify gui classes that a pulse fired

Referenced by HandleTimeOutChild(), Init(), and ~QGuiPulserController().


The documentation for this class was generated from the following files:

Generated on Tue Nov 16 10:50:06 2010 for CUORE Software by  doxygen 1.5.6