BaseExperiment::OperationWrapperOneParameter< T, P0 > Class Template Reference

The class for operation wrappers taking one parameter. More...

Inheritance diagram for BaseExperiment::OperationWrapperOneParameter< T, P0 >:

Public Member Functions

 OperationWrapperOneParameter (T *experiment, void(T::*operation)(P0), P0 p0)
 Constructor. More...
 
const P0 & p0 () const
 Returns the parameter that is passed to the function. More...
 
- Public Member Functions inherited from BaseExperiment::AbstractOperationWrapper
QString getName () const
 Returns the name of the operation. More...
 
bool getSteppable () const
 Returns true if the operation can be run step-by-step. More...
 
bool getUseSeparateThread () const
 Returns true if the operation is run in a separate thread. More...
 

Detailed Description

template<class T, class P0>
class farsa::BaseExperiment::OperationWrapperOneParameter< T, P0 >

The class for operation wrappers taking one parameter.

This class is needed to be able to add and use operations from derived classes that take one parameter

Definition at line 505 of file baseexperiment.h.

Constructor & Destructor Documentation

OperationWrapperOneParameter ( T *  experiment,
void(T::*)(P0)  operation,
P0  p0 
)
inline

Constructor.

Parameters
experimentthe pointer to the experiment
operationthe pointer to the member function of experiment implementing the operation
p0the parameter that is passed to the function

Definition at line 516 of file baseexperiment.h.

Member Function Documentation

const P0& p0 ( ) const
inline

Returns the parameter that is passed to the function.

Returns
the parameter that is passed to the function

Definition at line 529 of file baseexperiment.h.


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