bpp-core  2.1.0
bpp::ParameterListener Class Reference

The parameter listener interface. More...

#include <Bpp/Numeric/Parameter.h>

+ Inheritance diagram for bpp::ParameterListener:
+ Collaboration diagram for bpp::ParameterListener:

List of all members.

Public Member Functions

ParameterListenerclone () 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.

Detailed Description

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.


Member Function Documentation

Create a copy of this object and send a pointer to it.

Returns:
A pointer toward the copy object.

Implements bpp::Clonable.

Implemented in bpp::AliasParameterListener.

virtual const std::string& bpp::ParameterListener::getId ( ) const [pure virtual]
Returns:
The identifier of this listener.

Implemented in bpp::AliasParameterListener.

virtual void bpp::ParameterListener::parameterNameChanged ( ParameterEvent event) [pure virtual]

Notify a renaming action.

Parameters:
eventEvent associated to the acion.

Implemented in bpp::AliasParameterListener.

virtual void bpp::ParameterListener::parameterValueChanged ( ParameterEvent event) [pure virtual]

Notify a value change.

Parameters:
eventEvent associated to the acion.

Implemented in bpp::AliasParameterListener.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Friends