C++ main module for gpm Package  1.0
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
GPMG_VariablePanel Class Reference

this class describes a window to display a variable More...

#include <GPMG_VariablePanel.h>

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

Public Member Functions

virtual void toDoAfterThisSetting ()
 method called after this setting More...
 
void setVariable (const tString &varName, SP::GPM_Variable var)
 set the graph More...
 
SP::GPM_Variable getVariable (tString &name) const
 get the urrent variable More...
 
virtual void loadFromUIClass (const UI_Class &mclass)
 how to load the object from a Meta Model class More...
 
virtual void saveToUIClass (UI_Class &mclass) const
 how to save the object from a mate model class More...
 
virtual void componentClicked (GUI_ActionComponent &compo)
 method called when a component are clicked on More...
 
virtual void enableComponents (const tBoolean &isWritten)
 enable the components More...
 
virtual void updateValues ()
 update the components values put the values of model object to gui components More...
 

Static Public Member Functions

static SP::GPMG_VariablePanel New ()
 create a visualization window More...
 

Protected Member Functions

 GPMG_VariablePanel ()
 build a GPMG_VariablePanel More...
 
virtual ~GPMG_VariablePanel (void)
 destroy a GPMG_VariablePanel More...
 

Detailed Description

this class describes a window to display a variable

Constructor & Destructor Documentation

GPMG_VariablePanel::GPMG_VariablePanel ( )
protected

build a GPMG_VariablePanel

Referenced by New().

Here is the caller graph for this function:

GPMG_VariablePanel::~GPMG_VariablePanel ( void  )
protectedvirtual

destroy a GPMG_VariablePanel

Member Function Documentation

void GPMG_VariablePanel::componentClicked ( GUI_ActionComponent &  compo)
virtual

method called when a component are clicked on

References GPM_Variable::BOOLEAN, GPM_Variable::INTEGER, null, CORE_Integer::parseInt(), GPM_Variable::REAL, GPM_Variable::STRING, tFlag, tString, and GPM_Variable::UNDEFINED.

Here is the call graph for this function:

void GPMG_VariablePanel::enableComponents ( const tBoolean isWritten)
virtual

enable the components

References null.

Referenced by updateValues().

Here is the caller graph for this function:

SP::GPM_Variable GPMG_VariablePanel::getVariable ( tString name) const
inline

get the urrent variable

void GPMG_VariablePanel::loadFromUIClass ( const UI_Class &  mclass)
virtual

how to load the object from a Meta Model class

static SP::GPMG_VariablePanel GPMG_VariablePanel::New ( )
inlinestatic

create a visualization window

References GPMG_VariablePanel().

Here is the call graph for this function:

void GPMG_VariablePanel::saveToUIClass ( UI_Class &  mclass) const
virtual

how to save the object from a mate model class

void GPMG_VariablePanel::setVariable ( const tString varName,
SP::GPM_Variable  var 
)
inline

set the graph

References updateValues().

Here is the call graph for this function:

virtual void GPMG_VariablePanel::toDoAfterThisSetting ( )
inlinevirtual

method called after this setting

void GPMG_VariablePanel::updateValues ( )
virtual

update the components values put the values of model object to gui components

References GPM_Variable::BOOLEAN, enableComponents(), GPM_Variable::INTEGER, null, GPM_Variable::REAL, GPM_Variable::STRING, tFlag, CORE_Integer::toString(), and GPM_Variable::UNDEFINED.

Referenced by setVariable().

Here is the call graph for this function:

Here is the caller graph for this function:


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