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

#include <Controller.h>

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

Data Structures

class  Base
 have a parent controller and a name. More...
 

Public Member Functions

 ControllerBase ()
 
 ControllerBase (ControllerBase *parent, std::string cont_name)
 
virtual ~ControllerBase ()
 
std::string GetName () const
 
ControllerBaseGetParentController ()
 
virtual void Updated (std::vector< std::string > &)=0
 

Private Attributes

ControllerBasefparent_controller
 parent controller 0 by default More...
 
std::string name
 name Controller_X, initialized to "" by default More...
 

Detailed Description

Definition at line 40 of file Controller.h.

Constructor & Destructor Documentation

ControllerBase::ControllerBase ( )
inline

Definition at line 49 of file Controller.h.

ControllerBase::ControllerBase ( ControllerBase parent,
std::string  cont_name 
)
inline

Definition at line 54 of file Controller.h.

virtual ControllerBase::~ControllerBase ( )
inlinevirtual

Definition at line 59 of file Controller.h.

References fparent_controller.

Member Function Documentation

std::string ControllerBase::GetName ( ) const
inline
ControllerBase* ControllerBase::GetParentController ( )
inline

Definition at line 70 of file Controller.h.

References fparent_controller.

Referenced by ControllerIndicatorTHStock::ControllerIndicatorTHStock(), and ControllerIndicatorTHStock::GetSelected().

Here is the caller graph for this function:

virtual void ControllerBase::Updated ( std::vector< std::string > &  )
pure virtual

Field Documentation

ControllerBase* ControllerBase::fparent_controller
private

parent controller 0 by default

Definition at line 44 of file Controller.h.

Referenced by GetParentController(), and ~ControllerBase().

std::string ControllerBase::name
private

name Controller_X, initialized to "" by default

Definition at line 46 of file Controller.h.

Referenced by GetName().


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