ROOTANA
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes
TMainDisplayWindow Class Reference

#include <TMainDisplayWindow.hxx>

Collaboration diagram for TMainDisplayWindow:
Collaboration graph
[legend]

Public Member Functions

TGTextButtonGetResetButton ()
 
TGTextButtonGetNextButton ()
 
TGTextButtonGetNextInterestingButton ()
 
TGTextButtonGetQuitButton ()
 
TGNumberEntry * GetSkipEventButton ()
 
 TMainDisplayWindow (const TGWindow *p, UInt_t w, UInt_t h, bool isOffline, bool updatingBasedSeconds)
 
virtual ~TMainDisplayWindow ()
 
void SavePadButtonAction ()
 Method to call when 'save pad' button is pressed.
 
void SaveCanvasButtonAction ()
 Method to call when 'save canvas' button is pressed.
 
void NewTBrowserButtonAction ()
 
void PauseResumeButtonAction ()
 Method to call when 'pause/resume' button is pressed.
 
void FreeRunningButtonAction ()
 Method to call when 'free-running/resume' button is pressed.
 
bool IsDisplayPaused ()
 
bool IsDisplayFreeRunning ()
 
std::pair< int, int > AddSingleTab (std::string name, TGTab *tab=0, int mainTabIndex=-1)
 
std::pair< int, int > AddCanvas (std::string subtabname, std::string tabname=std::string(""))
 
void BuildWindow ()
 
void ResetSize ()
 
void CleanTBrowser ()
 
TCanvas * GetCanvas (const char *name)
 Get a particular canvas based on canvas name.
 
TRootEmbeddedCanvas * GetCurrentEmbeddedCanvas ()
 Return the current embedded canvas.
 
TGCompositeFrame * GetCurrentCompositeFrame ()
 
TGCompositeFrame * GetCompositeFrame (std::pair< int, int > index)
 
std::pair< int, int > GetCurrentTabIndex ()
 Return an pair<int> index for current tab/sub-tab;.
 
std::string GetCurrentTabName ()
 Return the canvas name for the current tab.
 
TGTab * GetSubTab (int index)
 
TGMainFrameGetMain ()
 
TGTab * GetTab ()
 

Private Member Functions

TGTab * GetTab (std::pair< int, int > tabindex)
 
std::string GetTabName (TGTab *tab, int index=-1)
 
int GetNumberSubTabs (int i)
 
TRootEmbeddedCanvas * GetEmbeddedCanvas (const char *name)
 

Private Attributes

TGMainFramefMain
 
TGTab * fTab
 
TGFrame * fFrame
 
TGHorizontalFrame * fHframe
 
bool fIsOffline
 
bool fProcessingPaused
 Is processing paused? (online)
 
bool fProcessingFreeRunning
 Is processing free-running? (offline)
 
TGTextButtonfSavePadButton
 Buttons to make plots of current pad/canvas.
 
TGTextButtonfSaveCanvasButton
 
TGTextButtonfOpenNewTBrowser
 
TGTextButtonfNextButton
 
TGTextButtonfNextInterestingButton
 
TGTextButtonfResetButton
 
TGTextButtonfQuitButton
 
TGTextButtonfPauseButton
 
TGTextButtonfFreeRunningButton
 
TGNumberEntry * fNumberSkipEventButton
 
TBrowser * fTBrowser
 
int fMainDisplayDefaultWidth
 
int fMainDisplayDefaultHeight
 

Detailed Description

Definition at line 19 of file TMainDisplayWindow.hxx.

Constructor & Destructor Documentation

◆ TMainDisplayWindow()

TMainDisplayWindow::TMainDisplayWindow ( const TGWindow *  p,
UInt_t  w,
UInt_t  h,
bool  isOffline,
bool  updatingBasedSeconds 
)

◆ ~TMainDisplayWindow()

TMainDisplayWindow::~TMainDisplayWindow ( )
virtual

Definition at line 464 of file TMainDisplayWindow.cxx.

Member Function Documentation

◆ AddCanvas()

std::pair< int, int > TMainDisplayWindow::AddCanvas ( std::string  subtabname,
std::string  tabname = std::string("") 
)

Definition at line 252 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddSingleTab()

std::pair< int, int > TMainDisplayWindow::AddSingleTab ( std::string  name,
TGTab *  tab = 0,
int  mainTabIndex = -1 
)

Definition at line 220 of file TMainDisplayWindow.cxx.

Here is the caller graph for this function:

◆ BuildWindow()

void TMainDisplayWindow::BuildWindow ( )

This method should be called just once, after you have added all the canvases and tabs that you want.

Definition at line 303 of file TMainDisplayWindow.cxx.

Here is the caller graph for this function:

◆ CleanTBrowser()

void TMainDisplayWindow::CleanTBrowser ( )
inline

Definition at line 141 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ FreeRunningButtonAction()

void TMainDisplayWindow::FreeRunningButtonAction ( )

Method to call when 'free-running/resume' button is pressed.

Definition at line 540 of file TMainDisplayWindow.cxx.

◆ GetCanvas()

TCanvas * TMainDisplayWindow::GetCanvas ( const char *  name)

Get a particular canvas based on canvas name.

Definition at line 405 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCompositeFrame()

TGCompositeFrame * TMainDisplayWindow::GetCompositeFrame ( std::pair< int, int >  index)

Definition at line 341 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentCompositeFrame()

TGCompositeFrame * TMainDisplayWindow::GetCurrentCompositeFrame ( )

Definition at line 353 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentEmbeddedCanvas()

TRootEmbeddedCanvas * TMainDisplayWindow::GetCurrentEmbeddedCanvas ( )

Return the current embedded canvas.

Definition at line 363 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentTabIndex()

std::pair< int, int > TMainDisplayWindow::GetCurrentTabIndex ( )

Return an pair<int> index for current tab/sub-tab;.

Definition at line 289 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentTabName()

std::string TMainDisplayWindow::GetCurrentTabName ( )

Return the canvas name for the current tab.

Definition at line 451 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:

◆ GetEmbeddedCanvas()

TRootEmbeddedCanvas * TMainDisplayWindow::GetEmbeddedCanvas ( const char *  name)
private

Definition at line 371 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetMain()

TGMainFrame * TMainDisplayWindow::GetMain ( )
inline

Definition at line 167 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetNextButton()

TGTextButton * TMainDisplayWindow::GetNextButton ( )
inline

Definition at line 93 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetNextInterestingButton()

TGTextButton * TMainDisplayWindow::GetNextInterestingButton ( )
inline

Definition at line 95 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetNumberSubTabs()

int TMainDisplayWindow::GetNumberSubTabs ( int  i)
private

Definition at line 558 of file TMainDisplayWindow.cxx.

◆ GetQuitButton()

TGTextButton * TMainDisplayWindow::GetQuitButton ( )
inline

Definition at line 97 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetResetButton()

TGTextButton * TMainDisplayWindow::GetResetButton ( )
inline

Definition at line 91 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetSkipEventButton()

TGNumberEntry * TMainDisplayWindow::GetSkipEventButton ( )
inline

Definition at line 99 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetSubTab()

TGTab * TMainDisplayWindow::GetSubTab ( int  index)

Definition at line 200 of file TMainDisplayWindow.cxx.

Here is the caller graph for this function:

◆ GetTab() [1/2]

TGTab * TMainDisplayWindow::GetTab ( )
inline

Definition at line 168 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ GetTab() [2/2]

TGTab * TMainDisplayWindow::GetTab ( std::pair< int, int >  tabindex)
private

Definition at line 413 of file TMainDisplayWindow.cxx.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTabName()

std::string TMainDisplayWindow::GetTabName ( TGTab *  tab,
int  index = -1 
)
private

Definition at line 426 of file TMainDisplayWindow.cxx.

Here is the caller graph for this function:

◆ IsDisplayFreeRunning()

bool TMainDisplayWindow::IsDisplayFreeRunning ( )
inline

Definition at line 126 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ IsDisplayPaused()

bool TMainDisplayWindow::IsDisplayPaused ( )
inline

Definition at line 121 of file TMainDisplayWindow.hxx.

Here is the caller graph for this function:

◆ NewTBrowserButtonAction()

void TMainDisplayWindow::NewTBrowserButtonAction ( )

Definition at line 514 of file TMainDisplayWindow.cxx.

◆ PauseResumeButtonAction()

void TMainDisplayWindow::PauseResumeButtonAction ( )

Method to call when 'pause/resume' button is pressed.

Definition at line 518 of file TMainDisplayWindow.cxx.

◆ ResetSize()

void TMainDisplayWindow::ResetSize ( )

This resizing is still not working right! You can easily get a situation where resizing doesn't work. Argh.

Definition at line 132 of file TMainDisplayWindow.cxx.

Here is the caller graph for this function:

◆ SaveCanvasButtonAction()

void TMainDisplayWindow::SaveCanvasButtonAction ( )

Method to call when 'save canvas' button is pressed.

Definition at line 500 of file TMainDisplayWindow.cxx.

◆ SavePadButtonAction()

void TMainDisplayWindow::SavePadButtonAction ( )

Method to call when 'save pad' button is pressed.

Definition at line 480 of file TMainDisplayWindow.cxx.

Field Documentation

◆ fFrame

TGFrame* TMainDisplayWindow::fFrame
private

Definition at line 28 of file TMainDisplayWindow.hxx.

◆ fFreeRunningButton

TGTextButton* TMainDisplayWindow::fFreeRunningButton
private

Definition at line 61 of file TMainDisplayWindow.hxx.

◆ fHframe

TGHorizontalFrame* TMainDisplayWindow::fHframe
private

Definition at line 29 of file TMainDisplayWindow.hxx.

◆ fIsOffline

bool TMainDisplayWindow::fIsOffline
private

Variables to keep track of state of display Are we processing offline?

Definition at line 33 of file TMainDisplayWindow.hxx.

◆ fMain

TGMainFrame* TMainDisplayWindow::fMain
private

Definition at line 24 of file TMainDisplayWindow.hxx.

◆ fMainDisplayDefaultHeight

int TMainDisplayWindow::fMainDisplayDefaultHeight
private

Definition at line 87 of file TMainDisplayWindow.hxx.

◆ fMainDisplayDefaultWidth

int TMainDisplayWindow::fMainDisplayDefaultWidth
private

Definition at line 86 of file TMainDisplayWindow.hxx.

◆ fNextButton

TGTextButton* TMainDisplayWindow::fNextButton
private

Definition at line 46 of file TMainDisplayWindow.hxx.

◆ fNextInterestingButton

TGTextButton* TMainDisplayWindow::fNextInterestingButton
private

Definition at line 49 of file TMainDisplayWindow.hxx.

◆ fNumberSkipEventButton

TGNumberEntry* TMainDisplayWindow::fNumberSkipEventButton
private

Definition at line 64 of file TMainDisplayWindow.hxx.

◆ fOpenNewTBrowser

TGTextButton* TMainDisplayWindow::fOpenNewTBrowser
private

Definition at line 43 of file TMainDisplayWindow.hxx.

◆ fPauseButton

TGTextButton* TMainDisplayWindow::fPauseButton
private

Definition at line 58 of file TMainDisplayWindow.hxx.

◆ fProcessingFreeRunning

bool TMainDisplayWindow::fProcessingFreeRunning
private

Is processing free-running? (offline)

Definition at line 38 of file TMainDisplayWindow.hxx.

◆ fProcessingPaused

bool TMainDisplayWindow::fProcessingPaused
private

Is processing paused? (online)

Definition at line 35 of file TMainDisplayWindow.hxx.

◆ fQuitButton

TGTextButton* TMainDisplayWindow::fQuitButton
private

Definition at line 55 of file TMainDisplayWindow.hxx.

◆ fResetButton

TGTextButton* TMainDisplayWindow::fResetButton
private

Definition at line 52 of file TMainDisplayWindow.hxx.

◆ fSaveCanvasButton

TGTextButton* TMainDisplayWindow::fSaveCanvasButton
private

Definition at line 42 of file TMainDisplayWindow.hxx.

◆ fSavePadButton

TGTextButton* TMainDisplayWindow::fSavePadButton
private

Buttons to make plots of current pad/canvas.

Definition at line 41 of file TMainDisplayWindow.hxx.

◆ fTab

TGTab* TMainDisplayWindow::fTab
private

Definition at line 25 of file TMainDisplayWindow.hxx.

◆ fTBrowser

TBrowser* TMainDisplayWindow::fTBrowser
private

Definition at line 67 of file TMainDisplayWindow.hxx.


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