ROOT_Application  2.0
C++ Core modules and GUIStock
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes
THStockFrame Class Reference

Contains an EmbeddedCanvas and a CanvasStock. More...

#include <THStockFrame.h>

Inheritance diagram for THStockFrame:
Inheritance graph
[legend]
Collaboration diagram for THStockFrame:
Collaboration graph
[legend]

Public Member Functions

 THStockFrame (const TGWindow *p, const char *, UInt_t w, UInt_t h)
 constructor, destructor More...
 
virtual ~THStockFrame ()
 
CanvasStockGetECanvas ()
 General function, for tests but may be kept later. More...
 
ControllerIndicatorTHStockGetController ()
 
void SetController (ControllerIndicatorTHStock *controller)
 
Double_t GetSliderMin ()
 access to the slider position More...
 
Double_t GetSliderMax ()
 
void DoSlider ()
 
void HandleButton ()
 
void GetSignalSelected (TVirtualPad *, TObject *, Int_t)
 
 ClassDef (THStockFrame, 0)
 coming from StockManager More...
 

Private Attributes

ControllerIndicatorTHStockfcontroller
 
TRootEmbeddedCanvas * fECanvas
 contain one embedded CanvasStock More...
 
CanvasStockfCStock
 1 CanvasStock for each frame, easier More...
 
TGHorizontalFramefslider_frame
 
TGDoubleHSlider * fHslider1
 
TGTextButton * fButslider [2]
 

Detailed Description

Contains an EmbeddedCanvas and a CanvasStock.

Add functions for the slider as well.

Definition at line 46 of file THStockFrame.h.

Constructor & Destructor Documentation

THStockFrame::THStockFrame ( const TGWindow *  p,
const char *  name_frame,
UInt_t  w,
UInt_t  h 
)

constructor, destructor

Definition at line 23 of file THStockFrame.cxx.

References fButslider, fCStock, fECanvas, fHslider1, and fslider_frame.

THStockFrame::~THStockFrame ( )
virtual

Definition at line 115 of file THStockFrame.cxx.

References fCStock.

Member Function Documentation

THStockFrame::ClassDef ( THStockFrame  ,
 
)

coming from StockManager

void THStockFrame::DoSlider ( )

Definition at line 130 of file THStockFrame.cxx.

References fCStock, fHslider1, CanvasStock::SetRangeCommonAxis(), and CanvasStock::UpdateTHStock().

Here is the call graph for this function:

ControllerIndicatorTHStock* THStockFrame::GetController ( )
inline

Definition at line 78 of file THStockFrame.h.

References fcontroller.

CanvasStock* THStockFrame::GetECanvas ( )
inline

General function, for tests but may be kept later.

Definition at line 75 of file THStockFrame.h.

References fCStock.

Referenced by ControllerIndicatorTHStock::AddData(), ControllerIndicatorTHStock::ControllerIndicatorTHStock(), ControllerIndicatorTHStock::ModifyColorIndic(), ControllerIndicatorTHStock::UpdateFrames(), and ControllerIndicatorTHStock::UpdateIndicator().

Here is the caller graph for this function:

void THStockFrame::GetSignalSelected ( TVirtualPad *  pad,
TObject obj,
Int_t  event 
)

Definition at line 254 of file THStockFrame.cxx.

References fcontroller, and ControllerIndicatorTHStock::GetSelected().

Here is the call graph for this function:

Double_t THStockFrame::GetSliderMax ( )
inline

Definition at line 86 of file THStockFrame.h.

References fHslider1.

Double_t THStockFrame::GetSliderMin ( )
inline

access to the slider position

Definition at line 85 of file THStockFrame.h.

References fHslider1.

void THStockFrame::HandleButton ( )
void THStockFrame::SetController ( ControllerIndicatorTHStock controller)
inline

Definition at line 79 of file THStockFrame.h.

References fcontroller.

Referenced by ControllerIndicatorTHStock::ControllerIndicatorTHStock().

Here is the caller graph for this function:

Field Documentation

TGTextButton* THStockFrame::fButslider[2]
private

Definition at line 67 of file THStockFrame.h.

Referenced by THStockFrame().

ControllerIndicatorTHStock* THStockFrame::fcontroller
private

Definition at line 54 of file THStockFrame.h.

Referenced by GetController(), GetSignalSelected(), and SetController().

CanvasStock* THStockFrame::fCStock
private

1 CanvasStock for each frame, easier

Definition at line 60 of file THStockFrame.h.

Referenced by DoSlider(), GetECanvas(), HandleButton(), THStockFrame(), and ~THStockFrame().

TRootEmbeddedCanvas* THStockFrame::fECanvas
private

contain one embedded CanvasStock

Definition at line 58 of file THStockFrame.h.

Referenced by THStockFrame().

TGDoubleHSlider* THStockFrame::fHslider1
private

Definition at line 65 of file THStockFrame.h.

Referenced by DoSlider(), GetSliderMax(), GetSliderMin(), HandleButton(), and THStockFrame().

TGHorizontalFrame* THStockFrame::fslider_frame
private

Definition at line 63 of file THStockFrame.h.

Referenced by THStockFrame().


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