QGEOffsetFrame Class Reference
[Apollo GuiApollo]

Inheritance diagram for QGEOffsetFrame:

QGuiCompositeFrame

List of all members.


Detailed Description

graphical frame handling front end offset related quantities

Author:
Sergio Di Domizio

Public Member Functions

 QGEOffsetFrame (const TGWindow *parent)
Bool_t SetOffsetDac (UInt_t offDac)
 get offset dac bits
Bool_t SetOffsetHi (UInt_t offHi)
 set offset hi bits
void SetOffsetSBit (Bool_t sBit)
 set offset special bit
void SetOffsetPolarity (Bool_t pol)
 set offset polarity
UInt_t GetOffsetDac () const
 get offset dac bits
UInt_t GetOffsetHi () const
Bool_t GetOffsetSBit () const
 get offset special bit
Bool_t GetOffsetPolarity () const
 get offset polarity
void UpdateBits ()
void UpdateSlider ()
void SetBitValue (UInt_t value)
void HandleTimeout ()
void OffsetChanged ()
void Lock (Bool_t doLock)
 enable/disable user interaction

Private Member Functions

 ClassDef (QGEOffsetFrame, 0)

Private Attributes

UInt_t fOffset
Bool_t fSBit
Bool_t fPolarity
QGuiSliderfSliderWidget
TGCheckButton * fBitButtons [14]
TGCheckButton * fSBitButton
QGuiRadioSelectorfPolarityWidget
const UInt_t kTimerDelay
TTimer * fTimer

Member Function Documentation

Bool_t QGEOffsetFrame::SetOffsetDac ( UInt_t  offDac  ) 

get offset dac bits

Parameters:
offDac offset dac bits (12 bits, 0..4095)
Returns:
true unless offDac is out of range

References fOffset, GetOffsetHi(), and QGuiSlider::SetValue().

Referenced by QGEChannelFrame::ShowChannel().

Bool_t QGEOffsetFrame::SetOffsetHi ( UInt_t  offHi  ) 

set offset hi bits

Parameters:
offHi offset hi bits (2 bits, 0..3)
Returns:
true unless offHi is out of range

References fOffset, GetOffsetDac(), and QGuiSlider::SetValue().

Referenced by QGEChannelFrame::ShowChannel().

void QGEOffsetFrame::SetOffsetSBit ( Bool_t  sBit  ) 

set offset special bit

Parameters:
sBit if true, special bit is set

Referenced by QGEChannelFrame::ShowChannel().

void QGEOffsetFrame::SetOffsetPolarity ( Bool_t  pol  ) 

set offset polarity

Parameters:
pol use true for positive polarity, false for negative polarity

References QGuiRadioSelector::SetSelected().

Referenced by QGEChannelFrame::ShowChannel().

UInt_t QGEOffsetFrame::GetOffsetHi (  )  const

get offset hi bits

References fOffset.

Referenced by QGEChannelFrame::ReadChannel(), and SetOffsetDac().

Bool_t QGEOffsetFrame::GetOffsetSBit (  )  const

get offset special bit

Returns:
true if special bit is set

Referenced by QGEChannelFrame::ReadChannel().

Bool_t QGEOffsetFrame::GetOffsetPolarity (  )  const

get offset polarity

Returns:
true in case of positive offset polarity, false otherwise

References QGuiRadioSelector::GetSelected().

Referenced by QGEChannelFrame::ReadChannel().


Member Data Documentation

UInt_t QGEOffsetFrame::fOffset [private]

combination of offset dac (12 lowest bits) and hi bits (bits 12 and 13)

Referenced by GetOffsetDac(), GetOffsetHi(), SetOffsetDac(), and SetOffsetHi().


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