MethodSetter< T, H > Class Template Reference

The template class wrapping a setter method used for changing the value of the parameter. More...

Inheritance diagram for MethodSetter< T, H >:

List of all members.

Public Member Functions

 MethodSetter (T *owner, void(T::*setter)(H), H(T::*getter)() const, QString name)
 the constructor
set (H newvalue)
 set the parameter calling the setter method

Detailed Description

template<class T, typename H>
class farsa::MethodSetter< T, H >

The template class wrapping a setter method used for changing the value of the parameter.

Definition at line 103 of file runtimeparametersetters.h.


Constructor & Destructor Documentation

MethodSetter ( T *  owner,
void(T::*)(H)  setter,
H(T::*)() const  getter,
QString  name 
) [inline]

the constructor

Definition at line 106 of file runtimeparametersetters.h.


Member Function Documentation

H set ( newvalue) [inline]

set the parameter calling the setter method

Definition at line 111 of file runtimeparametersetters.h.


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