QGPChannelFrame Class Reference
[Apollo GuiApollo]

Inheritance diagram for QGPChannelFrame:

QGuiCompositeFrame

List of all members.


Detailed Description

graphical frame handling pulser channel configuration

Author:
Sergio Di Domizio

Public Member Functions

 QGPChannelFrame (UInt_t channel, UInt_t boardId, const TGWindow *parent, UInt_t w, UInt_t h)
 ctor
void SetEnabled (Bool_t enabled)
 toggle whether or not this channel will fire when the start button will be pressed
void SetLoaded (Bool_t loaded)
 toggle whether or not this channel is present in the current configuration
bool SetAmplitude (UInt_t amplitude)
 set pulse amplitude (0..5000)
void Blink ()
 blink led when pulser fires
bool GetEnabled () const
 check whether this channel is enabled
unsigned int GetAmplitude () const
 get amplitude displayed in the Gui
void Lock ()
 disable user interaction
void Unlock ()
 enable user interaction
void EnableToggled ()
void OneShotPressed (Long_t)

Private Member Functions

void UpdateEnabled ()

Private Attributes

UInt_t fChannel
UInt_t fBoardId
Bool_t fEnabled
Bool_t fLoaded
TGNumberEntry * fNumberEntry
TGCheckButton * fEnableButton
TGTextButton * fOneShotButton
QGuiLedfLedWidget

Constructor & Destructor Documentation

QGPChannelFrame::QGPChannelFrame ( UInt_t  channel,
UInt_t  boardId,
const TGWindow *  parent,
UInt_t  w,
UInt_t  h 
)

ctor

Parameters:
channel hardware channel
boardId hardware board id


Member Function Documentation

bool QGPChannelFrame::SetAmplitude ( UInt_t  amplitude  )  [inline]

set pulse amplitude (0..5000)

Returns:
true unless amplitude is out of range


Member Data Documentation

UInt_t QGPChannelFrame::fBoardId [private]

hardware channel

Bool_t QGPChannelFrame::fEnabled [private]

hardware board channel exists, but won't fire

Referenced by GetEnabled(), SetEnabled(), and Unlock().

Bool_t QGPChannelFrame::fLoaded [private]

channel does not exist in current settings basket

Referenced by SetLoaded(), and Unlock().


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