
#include <Component/ParamClient.H>
Inheritance diagram for ParamClient:

Using this abstract interface class allows us to decouple the concrete model param classes (NModelParam and OModelParam) from the concrete client class (just ModelComponent, for now).
Definition at line 50 of file ParamClient.H.
Public Types | |
| enum | ChangeStatus { CHANGE_ACCEPTED, CHANGE_REJECTED } |
| Return type for paramChange() indicating whether a param change was allowed. More... | |
Public Member Functions | |
| ParamClient () | |
| Default constructor. | |
| virtual | ~ParamClient () |
| Virtual destructor for proper base class destruction. | |
| virtual void | registerParam (ModelParamBase *mp)=0 |
| Our parameters will register with us upon construction. | |
| virtual void | registerOptionedParam (OptionedModelParam *mp, const ParamFlag flags)=0 |
| Our parameters will register with us upon construction. | |
| virtual void | unregisterParam (const ModelParamBase *mp)=0 |
| Our parameters will un-register with us upon destruction. | |
| virtual void | paramChanged (ModelParamBase *param, const bool valueChanged, ChangeStatus *status)=0 |
| Our params call us back with this function whenever they change value. | |
|
|
Return type for paramChange() indicating whether a param change was allowed.
Definition at line 73 of file ParamClient.H. |
|
|
Default constructor.
Definition at line 43 of file ParamClient.C. |
|
|
Virtual destructor for proper base class destruction.
Definition at line 46 of file ParamClient.C. |
|
||||||||||||||||
|
||||||||||||
|
Our parameters will register with us upon construction.
Implemented in ModelComponent. Referenced by ModelParamAuxImpl::ModelParamAuxImpl(). |
|
|
Our parameters will register with us upon construction.
Implemented in ModelComponent. Referenced by ModelParamAuxImpl::ModelParamAuxImpl(). |
|
|
Our parameters will un-register with us upon destruction.
Implemented in ModelComponent. Referenced by ModelParamAuxImpl::~ModelParamAuxImpl(). |
1.4.4