GRUTinizer
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Public Member Functions | Private Types | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
TStripChart Class Reference

#include <TStripChart.h>

Classes

struct  ChartValues

Public Member Functions

 TStripChart ()
 ~TStripChart ()
void Update ()
void Draw (Option_t *opt="nostack ][")
TVirtualPad * GetPad ()
double GetCurrentTime ()
void SetPaused (bool flag=true)
bool IsPaused ()
void SetRunning (bool flag=true)
bool IsRunning ()
void Attach (const char *title, double *value, int color=0)
size_t NumCharts ()
void Fill ()
void SetColor (size_t chartnum, int color)
TStripChartItemGetChart (size_t chartnum)
TH1 * GetHist (size_t chartnum)
void StartPoll (int period_milliseconds)
void RunPoll (int period_milliseconds)
void StopPoll ()

Private Types

enum  { kPaused, kRunning }

Private Member Functions

void Init ()

Private Attributes

TBits bitflags
TCanvas canvas
TStopwatch stopwatch
TLegend legend
std::vector< ChartValuescharts
THStack hstack
std::thread poll_thread
std::atomic_bool is_polling

Static Private Attributes

static TStyle * style = NULL

Member Enumeration Documentation

anonymous enum
private
Enumerator:
kPaused 
kRunning 

Constructor & Destructor Documentation

TStripChart::TStripChart ( )
TStripChart::~TStripChart ( )

Member Function Documentation

void TStripChart::Attach ( const char *  title,
double *  value,
int  color = 0 
)
void TStripChart::Draw ( Option_t *  opt = "nostack ][")
void TStripChart::Fill ( )
TStripChartItem& TStripChart::GetChart ( size_t  chartnum)
inline
double TStripChart::GetCurrentTime ( )
TH1* TStripChart::GetHist ( size_t  chartnum)
inline
TVirtualPad * TStripChart::GetPad ( )
void TStripChart::Init ( )
private
bool TStripChart::IsPaused ( )
inline
bool TStripChart::IsRunning ( )
inline
size_t TStripChart::NumCharts ( )
inline
void TStripChart::RunPoll ( int  period_milliseconds)
void TStripChart::SetColor ( size_t  chartnum,
int  color 
)
inline
void TStripChart::SetPaused ( bool  flag = true)
inline
void TStripChart::SetRunning ( bool  flag = true)
void TStripChart::StartPoll ( int  period_milliseconds)
void TStripChart::StopPoll ( )
void TStripChart::Update ( )

Member Data Documentation

TBits TStripChart::bitflags
private
TCanvas TStripChart::canvas
private
std::vector<ChartValues> TStripChart::charts
private
THStack TStripChart::hstack
private
std::atomic_bool TStripChart::is_polling
private
TLegend TStripChart::legend
private
std::thread TStripChart::poll_thread
private
TStopwatch TStripChart::stopwatch
private
TStyle * TStripChart::style = NULL
staticprivate

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