SourceForge.net Logo

DAQpp::Par< T > Class Template Reference

class Par<T>. More...

#include <Parameter.h>

Inheritance diagram for DAQpp::Par< T >:

Inheritance graph
[legend]
Collaboration diagram for DAQpp::Par< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Par ()
 Default Constructor.
 Par (const T &v)
 Another constructor.
 Par (const Par &v)
 Copy constructor.
Paroperator= (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

value
 A value.


Detailed Description

template<class T>
class DAQpp::Par< T >

class Par<T>.

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.

Author:
Carlos Lacasta

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