Nemo  2.3.46
ParamUpdaterBase Class Referenceabstract

Base class of the ParamUpdater class used to handle the temporal parameter argument values. More...

#include <param.h>

+ Inheritance diagram for ParamUpdaterBase:
+ Collaboration diagram for ParamUpdaterBase:

Public Types

typedef list< Param * >::iterator PIT
 

Public Member Functions

 ParamUpdaterBase ()
 
 ParamUpdaterBase (const ParamUpdaterBase &PU)
 
virtual ~ParamUpdaterBase ()
 
virtual void init ()=0
 
virtual void update ()
 
virtual bool update (unsigned int generation)=0
 Updating procedure. More...
 
virtual SimComponentgetComponent ()=0
 
virtual void addParam (Param *param)
 Adds a parameter to the stack. More...
 
virtual void reset ()
 Clears the parameters stack. More...
 
list< Param * > getParams ()
 Returns the list of parameters. More...
 
- Public Member Functions inherited from Handler
virtual ~Handler ()
 

Protected Attributes

list< Param * > _params
 List of the parameters affected by this updater. More...
 

Detailed Description

Base class of the ParamUpdater class used to handle the temporal parameter argument values.

Member Typedef Documentation

typedef list< Param* >::iterator ParamUpdaterBase::PIT

Constructor & Destructor Documentation

ParamUpdaterBase::ParamUpdaterBase ( )
inline
312 { }
ParamUpdaterBase::ParamUpdaterBase ( const ParamUpdaterBase PU)
inline

References _params.

315  {
316  _params.assign(PU._params.begin(), PU._params.end());
317  }
list< Param * > _params
List of the parameters affected by this updater.
Definition: param.h:304
virtual ParamUpdaterBase::~ParamUpdaterBase ( )
inlinevirtual
319 {}

Member Function Documentation

virtual void ParamUpdaterBase::addParam ( Param param)
inlinevirtual

Adds a parameter to the stack.

Referenced by ParamSet::add_param().

328 {_params.push_back( param );}
list< Param * > _params
List of the parameters affected by this updater.
Definition: param.h:304
virtual SimComponent* ParamUpdaterBase::getComponent ( )
pure virtual

Implemented in ParamUpdater< SC >.

list< Param* > ParamUpdaterBase::getParams ( )
inline

Returns the list of parameters.

Referenced by UpdaterServices::attach().

332 {return _params;}
list< Param * > _params
List of the parameters affected by this updater.
Definition: param.h:304
virtual void ParamUpdaterBase::init ( )
pure virtual

Implements Handler.

Implemented in ParamUpdater< SC >.

virtual void ParamUpdaterBase::reset ( )
inlinevirtual

Clears the parameters stack.

330 {_params.clear();}
list< Param * > _params
List of the parameters affected by this updater.
Definition: param.h:304
virtual void ParamUpdaterBase::update ( )
inlinevirtual

Implements Handler.

322 {}
virtual bool ParamUpdaterBase::update ( unsigned int  generation)
pure virtual

Updating procedure.

Implemented in ParamUpdater< SC >.

Member Data Documentation

list< Param* > ParamUpdaterBase::_params
protected

List of the parameters affected by this updater.

Referenced by ParamUpdater< SC >::ParamUpdater(), and ParamUpdaterBase().


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

Generated for Nemo v2.3.0 by  doxygen 1.8.8 --
Catalogued on GSR