QScopeChannelInfo Class Reference

List of all members.


Detailed Description

container class used for communication between batch and graphical classes involved in online scope

Author:
Sergio Di Domizio

Public Member Functions

 QScopeChannelInfo (Int_t id)
 ctor
virtual ~QScopeChannelInfo ()
 dtor
Int_t GetId () const
 get object id
Bool_t GetEnabled () const
 check whether display is enabled for this channel
Int_t GetLgChannel () const
 get logical channel to be displayed
Bool_t GetAutoScale () const
 check whether y-axis autoscale was requested
Bool_t GetAdjustOffset () const
 check whether y-axis offset adjustment was requested
ULong_t GetWaveformColor () const
 get waveform color in Pixel_t units
Float_t GetMvPerDiv () const
 get mV/div for y axis
Int_t GetOffsetMv () const
 get offset in mV
Bool_t GetMeasMaxMin () const
 check whether max-min measurement is requested
Bool_t GetMeasAverage () const
 check whether average measurement is requested
Bool_t GetMeasRMS () const
 check whether RMS measurement is requested
void SetEnabled (Bool_t enabled)
 set whether display is enabled for this channel
void SetLgChannel (Int_t lgChannel)
 set logical channel to be displayed
void SetAutoScale (Bool_t autoScale)
 toggle y-axis autoscale
void SetAdjustOffset (Bool_t adjustOffset)
 toggle y-axis automatic offset adjustment
void SetWaveformColor (ULong_t pxColor)
 set waveform color in Pixel_t units
void SetMvPerDiv (Float_t mVPerDiv)
 set mV/div for y axis
void SetOffsetMv (Int_t offsetMv)
 set offset in mV
void SetMeasMaxMin (Bool_t enabled)
 set whether max-min measurement is requested
void SetMeasAverage (Bool_t enabled)
 set whether average measurement is requested
void SetMeasRMS (Bool_t enabled)
 set whether RMS measurement is requested

Static Public Member Functions

static const std::set< UInt_t > & GetAvailableWindowLengthsMs ()
 static method to retrieve available window lengths in ms
static const std::set< Float_t > & GetAvailableMvPerDiv ()
 static method to retrieve available mV/div
static const std::set< UInt_t > & GetAvailableSubSamplings ()
 static method to retrieve available subsamplings
static bool GetUseDarkBackground ()
 whether to use light or dark background in scope canvas

Private Attributes

const Int_t fId
Bool_t fEnabled
Int_t fLgChannel
Bool_t fAutoScale
Bool_t fAdjustOffset
ULong_t fWaveformColor
Float_t fMvPerDiv
Int_t fOffsetMv
Bool_t fMeasMaxMin
Bool_t fMeasAverage
Bool_t fMeasRMS

Member Function Documentation

const std::set< UInt_t > & QScopeChannelInfo::GetAvailableSubSamplings (  )  [static]

static method to retrieve available subsamplings

A value of N in the returned set means 1 every N samples

Referenced by QGuiScope::CreateFrames().


Member Data Documentation

const Int_t QScopeChannelInfo::fId [private]

id used for internal purposes

Referenced by GetId().

Bool_t QScopeChannelInfo::fEnabled [private]

whether this channel is enabled

Referenced by GetEnabled(), and SetEnabled().

logical channel to be displayed

Referenced by GetLgChannel(), and SetLgChannel().

whether to perform y-axis autoscale

Referenced by GetAutoScale(), and SetAutoScale().

whether to automatically adjust offset

Referenced by GetAdjustOffset(), and SetAdjustOffset().

waveform color in Pixel_t units

Referenced by GetWaveformColor(), and SetWaveformColor().

Float_t QScopeChannelInfo::fMvPerDiv [private]

mV/div for the Y axis

Referenced by GetMvPerDiv(), and SetMvPerDiv().

offset in mV for the Y axis

Referenced by GetOffsetMv(), and SetOffsetMv().

whether max-min measurement is requested

Referenced by GetMeasMaxMin(), and SetMeasMaxMin().

whether average measurement is requested

Referenced by GetMeasAverage(), and SetMeasAverage().

Bool_t QScopeChannelInfo::fMeasRMS [private]

whether RMS measurement is requested

Referenced by GetMeasRMS(), and SetMeasRMS().


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

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