SourceForge.net Logo

DAQpp::Parameter Class Reference

class Parameter. More...

#include <Parameter.h>

Inheritance diagram for DAQpp::Parameter:

Inheritance graph
[legend]
Collaboration diagram for DAQpp::Parameter:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

class 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.

Author:
Carlos Lacasta

Member Function Documentation

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.


The documentation for this class was generated from the following file:

Generated on Mon Apr 21 10:00:04 2008 for DAQ++ by  doxygen 1.5.5