|
bpp-core
2.1.0
|
The parameter listener interface. More...
#include <Bpp/Numeric/Parameter.h>
Inheritance diagram for bpp::ParameterListener:
Collaboration diagram for bpp::ParameterListener:Public Member Functions | |
| ParameterListener * | clone () const =0 |
| Create a copy of this object and send a pointer to it. | |
| virtual const std::string & | getId () const =0 |
| virtual void | parameterNameChanged (ParameterEvent &event)=0 |
| Notify a renaming action. | |
| virtual void | parameterValueChanged (ParameterEvent &event)=0 |
| Notify a value change. | |
The parameter listener interface.
Imlementing this interface allows to catch events associated to parameters modifications. Listeners must have an identifier that will be used to pinpoint it when attached to a list. This identifier needs not be unique though, but listeners with identical id will be undistinguishable.
Definition at line 92 of file Parameter.h.
| ParameterListener* bpp::ParameterListener::clone | ( | ) | const [pure virtual] |
Create a copy of this object and send a pointer to it.
Implements bpp::Clonable.
Implemented in bpp::AliasParameterListener.
| virtual const std::string& bpp::ParameterListener::getId | ( | ) | const [pure virtual] |
Implemented in bpp::AliasParameterListener.
| virtual void bpp::ParameterListener::parameterNameChanged | ( | ParameterEvent & | event | ) | [pure virtual] |
Notify a renaming action.
| event | Event associated to the acion. |
Implemented in bpp::AliasParameterListener.
| virtual void bpp::ParameterListener::parameterValueChanged | ( | ParameterEvent & | event | ) | [pure virtual] |
Notify a value change.
| event | Event associated to the acion. |
Implemented in bpp::AliasParameterListener.