#include <Parameter.h>
Public Member Functions | |
Par () | |
Default Constructor. | |
Par (const T &v) | |
Another constructor. | |
Par (const Par &v) | |
Copy constructor. | |
Par & | operator= (const Par &v) |
Asignment operator. | |
~Par () | |
Destructor. | |
void | set_value (const T &x, bool notify=false) |
Sets the value. | |
T const & | operator() () const |
Returns the value as const. | |
T & | operator() () |
Returns the value. | |
const T & | get_value () const |
Another way of getting the value. | |
T & | get_value () |
Yet another way of getting the value. | |
Private Attributes | |
T | value |
A value. |
This is a template class derived from Parameter. It is used to define parameters inside a Module.
It derives from Observable and it will notify to any Observer of any change on the parameter.