45 #include "../Clonable.h"
73 #ifndef NO_VIRTUAL_COV
96 #ifndef NO_VIRTUAL_COV
108 virtual const std::string&
getId()
const = 0;
166 Parameter(
const std::string& name,
double value,
Constraint* constraint,
bool attachConstraint,
double precision=0)
178 Parameter(const std::
string& name,
double value, const
Constraint* constraint = 0,
double precision=0)
179 throw (ConstraintException);
194 #ifndef NO_VIRTUAL_COV
208 virtual void setName(
const std::string & name)
220 virtual void setValue(
double value)
throw (ConstraintException);
323 for(std::vector<ParameterListener *>::iterator it =
listeners_.begin(); it !=
listeners_.end(); it++)
324 (*it)->parameterNameChanged(event);
328 for(std::vector<ParameterListener *>::iterator it =
listeners_.begin(); it !=
listeners_.end(); it++)
329 (*it)->parameterValueChanged(event);
343 #endif //_PARAMETER_H_