AAO DRAMA/DRAMA2 C++ Interface
DRAMA C++11 and later interface

◆ ParamChanged() [3/5]

virtual void drama::thread::MonitorByType::ParamChanged ( const std::string &  name,
double  value 
)
protectedvirtual

Method invoked when the value of a real type parameter has been changed.

Invoked for any non-array parameter of SDS type SDS_FLOAT or SDS_DOUBLE.

The default implementation of this method will throw a DRAMA exception with the DRAMA code DRAMA2__MON_UNSUPTYPE. It is expected that the user will subclass this class to implement the required behaviors. But - if the sub-class has implemented the string version of ParamChanged(), that will be used in cases where the real version is not implemented.

Parameters
nameThe name of the parameter the value of which has changed.
valueThe new value of the parameter.