QGuiPulseNotifier Class Reference
[Apollo GuiApollo]

List of all members.


Detailed Description

notifies gui classes when pulsers fire

Author:
Sergio Di Domizio This class monitors a shared memory that is written by the pulser batch classes when the pulser fires and emits a signal to notify gui classes.

Public Member Functions

 QGuiPulseNotifier ()
 ctor
virtual ~QGuiPulseNotifier ()
 dtor
void Start ()
 start monitoring the shared memory containing pulser notifications
void Stop ()
 stop monitoring the shared memory containing pulser notifications
void PulseFired (unsigned long pulseId)
 emit signal for gui classes

Private Member Functions

void MakeThread ()
 ClassDef (QGuiPulseNotifier, 0)

Static Private Member Functions

static void * StartThread (void *arg)

Private Attributes

TThread * fThread
QGuiSharedMemoryfMemory

Static Private Attributes

static bool gRunning = false

Member Function Documentation

void * QGuiPulseNotifier::StartThread ( void *  arg  )  [static, private]

start shared memory monitoring thread

References fMemory, QGuiSharedMemory::GetValue(), PulseFired(), and QGuiSharedMemory::SetValue().

Referenced by MakeThread().

void QGuiPulseNotifier::MakeThread (  )  [private]

create shared memory monitoring thread

References StartThread().

Referenced by Start().


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