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 |
QGuiSlider * | fSliderWidget |
TGCheckButton * | fBitButtons [14] |
TGCheckButton * | fSBitButton |
QGuiRadioSelector * | fPolarityWidget |
const UInt_t | kTimerDelay |
TTimer * | fTimer |
Bool_t QGEOffsetFrame::SetOffsetDac | ( | UInt_t | offDac | ) |
get offset dac bits
offDac | offset dac bits (12 bits, 0..4095) |
References fOffset, GetOffsetHi(), and QGuiSlider::SetValue().
Referenced by QGEChannelFrame::ShowChannel().
Bool_t QGEOffsetFrame::SetOffsetHi | ( | UInt_t | offHi | ) |
set offset hi bits
offHi | offset hi bits (2 bits, 0..3) |
References fOffset, GetOffsetDac(), and QGuiSlider::SetValue().
Referenced by QGEChannelFrame::ShowChannel().
void QGEOffsetFrame::SetOffsetSBit | ( | Bool_t | sBit | ) |
set offset special bit
sBit | if true, special bit is set |
Referenced by QGEChannelFrame::ShowChannel().
void QGEOffsetFrame::SetOffsetPolarity | ( | Bool_t | pol | ) |
set offset polarity
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
Referenced by QGEChannelFrame::ReadChannel().
Bool_t QGEOffsetFrame::GetOffsetPolarity | ( | ) | const |
get offset polarity
References QGuiRadioSelector::GetSelected().
Referenced by QGEChannelFrame::ReadChannel().
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().