ROOT_Application
2.0
C++ Core modules and GUIStock
|
#include <ObjectStock.h>
Public Member Functions | |
BarStock () | |
BarStock (bool ref0) | |
virtual | ~BarStock () |
virtual std::string | GetNameObject () const |
pure-virtual access More... | |
virtual std::vector< std::string > | MakeStringForStatusBar (int px, int py) const |
create the string for the StatusBar More... | |
virtual void | ClearObjectStock () |
set kPaint to false, keep in memory More... | |
virtual time_t | GetDate () const |
virtual void | GetExtrema (double &min, double &max) const |
override abstract base function More... | |
virtual void | SetValues (UInt_t bin, std::vector< double > values, Double_t xmin, Double_t xmax, time_t date, UInt_t opt_value=0) |
virtual int | DistancetoPrimitive (int px, int py, AbstractObjectStock **) |
used for selection of object, for const need attention to the pointer More... | |
virtual int | DistancetoPoint (int, int, double &yvalue, int bin=-1) const |
called by THStock for anchoring. More... | |
virtual void | Paint (const Option_t *="") |
realize the painting, not setting the values More... | |
ClassDef (BarStock, 1) | |
Public Member Functions inherited from AbstractObjectStock | |
AbstractObjectStock () | |
default constructor More... | |
virtual | ~AbstractObjectStock () |
virtual default destructor, needed More... | |
virtual THStock * | GetParent () const |
public access to parent THStock More... | |
virtual void | SetParent (THStock *thstock) |
virtual void | SetToPaint (bool k) |
Public access to kPaint. More... | |
virtual bool | ToPaint () const |
virtual unsigned int | GetSize () const |
virtual void | Resize (unsigned int) |
virtual void | SetValues (unsigned int bin, std::vector< double > values, double xmin, double ymax, time_t date, unsigned int opt_value=0)=0 |
more general call for setting the values, even ObjectLine ?? no use/need but maybe if protected probelm compilation (private inherintence??) More... | |
virtual void | SetObjectStock (ListDataStockBase *, CommonXAxis *, Hparam_stock_t &) |
used for from the listdata More... | |
virtual void | SetLineColorObject (Color_t) |
ClassDef (AbstractObjectStock, 1) | |
Protected Member Functions | |
std::vector< float > | GetValues () const |
return 1 one value in a vector used by MakeStringForStatus and GetExtrema More... | |
Protected Attributes | |
time_t | fdate |
bool | fref0_value |
double | fvalue |
double | fxmin |
double | fxmax |
Protected Attributes inherited from AbstractObjectStock | |
THStock * | fParentTHStock |
bool | kPaint |
set to true if the object need be draw or not depend on common_xaxis and user input ( slider ) used by SetObject as well, good, efficient More... | |
Definition at line 94 of file ObjectStock.h.
BarStock::BarStock | ( | ) |
Definition at line 226 of file ObjectStock.cxx.
References fdate, fref0_value, fvalue, fxmax, and fxmin.
BarStock::BarStock | ( | bool | ref0 | ) |
Definition at line 234 of file ObjectStock.cxx.
References fdate, fref0_value, fvalue, fxmax, and fxmin.
|
inlinevirtual |
Definition at line 116 of file ObjectStock.h.
BarStock::ClassDef | ( | BarStock | , |
1 | |||
) |
|
inlinevirtual |
set kPaint to false, keep in memory
Implements AbstractObjectStock.
Definition at line 122 of file ObjectStock.h.
References AbstractObjectStock::kPaint.
|
virtual |
called by THStock for anchoring.
keep main idea from ROOT, add optional bin if provides faster access
Implemented only for Indicator
px | in pixel |
py | |
value,update | the new value |
bin |
Implements AbstractObjectStock.
Definition at line 364 of file ObjectStock.cxx.
References fvalue.
|
virtual |
used for selection of object, for const need attention to the pointer
Implements AbstractObjectStock.
Definition at line 311 of file ObjectStock.cxx.
|
inlinevirtual |
Definition at line 124 of file ObjectStock.h.
References fdate.
Referenced by MakeStringForStatusBar().
|
virtual |
override abstract base function
override base function
Implements AbstractObjectStock.
Definition at line 279 of file ObjectStock.cxx.
References GetValues(), and values.
|
inlinevirtual |
pure-virtual access
Implements AbstractObjectStock.
Definition at line 118 of file ObjectStock.h.
Referenced by MakeStringForStatusBar().
|
protected |
return 1 one value in a vector used by MakeStringForStatus and GetExtrema
Definition at line 249 of file ObjectStock.cxx.
References fvalue, and values.
Referenced by GetExtrema(), and MakeStringForStatusBar().
|
virtual |
create the string for the StatusBar
Implements AbstractObjectStock.
Definition at line 257 of file ObjectStock.cxx.
References GetDate(), GetNameObject(), GetValues(), Utils::Time_tToString(), and values.
|
virtual |
realize the painting, not setting the values
Implements AbstractObjectStock.
Definition at line 377 of file ObjectStock.cxx.
References fref0_value, fvalue, fxmax, and fxmin.
|
virtual |
|
protected |
Definition at line 99 of file ObjectStock.h.
Referenced by BarStock(), GetDate(), and SetValues().
|
protected |
Definition at line 104 of file ObjectStock.h.
Referenced by BarStock(), and Paint().
|
protected |
Definition at line 106 of file ObjectStock.h.
Referenced by BarStock(), DistancetoPoint(), DistancetoPrimitive(), GetValues(), Paint(), and SetValues().
|
protected |
Definition at line 107 of file ObjectStock.h.
Referenced by BarStock(), DistancetoPrimitive(), Paint(), and SetValues().
|
protected |
Definition at line 107 of file ObjectStock.h.
Referenced by BarStock(), DistancetoPrimitive(), Paint(), and SetValues().