#include <Parameter.h>


Public Member Functions | |
| Parameter () | |
| Constructor. | |
| virtual | ~Parameter () |
| Destructor. | |
| void | set_name (const std::string &s) |
| Changes the name of the parameter. | |
| const std::string & | get_name () const |
| Returns the current name of the parameter. | |
| DAQid const & | get_id () const |
| Returns the id. | |
| void | set_id (const DAQid &s) |
| Changes the id of the parameter. | |
| virtual void | set_from_string (const std::string &s, bool notify=false) |
| Sets the value from a string. | |
| virtual std::string | get_as_string () |
| Returns the string representation of the parameter. | |
Private Attributes | |
| std::string | name |
| Name of the parameter. | |
| DAQid | _id |
| ID of the parameter. | |
This class represents a parameter a Module may need for any of its operations. It is a dummy class to define the protocol for parameter definition inside a Module.
| virtual void DAQpp::Parameter::set_from_string | ( | const std::string & | s, | |
| bool | notify = false | |||
| ) | [inline, virtual] |
Sets the value from a string.
In this interface it is a dummy function.
1.5.5