BaseExperiment::OperationWrapperThreeParameters< T, P0, P1, P2 > Class Template Reference

The class for operation wrappers taking three parameters. More...

Inheritance diagram for BaseExperiment::OperationWrapperThreeParameters< T, P0, P1, P2 >:

Public Member Functions

 OperationWrapperThreeParameters (T *experiment, void(T::*operation)(P0, P1, P2), P0 p0, P1 p1, P2 p2)
 Constructor. More...
 
const P0 & p0 () const
 Returns the first parameter that is passed to the function. More...
 
const P1 & p1 () const
 Returns the second parameter that is passed to the function. More...
 
const P2 & p2 () const
 Returns the third 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 P1, class P2>
class farsa::BaseExperiment::OperationWrapperThreeParameters< T, P0, P1, P2 >

The class for operation wrappers taking three parameters.

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

Definition at line 662 of file baseexperiment.h.

Constructor & Destructor Documentation

OperationWrapperThreeParameters ( T *  experiment,
void(T::*)(P0, P1, P2)  operation,
P0  p0,
P1  p1,
P2  p2 
)
inline

Constructor.

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

Definition at line 675 of file baseexperiment.h.

Member Function Documentation

const P0& p0 ( ) const
inline

Returns the first parameter that is passed to the function.

Returns
the first parameter that is passed to the function

Definition at line 691 of file baseexperiment.h.

const P1& p1 ( ) const
inline

Returns the second parameter that is passed to the function.

Returns
the second parameter that is passed to the function

Definition at line 702 of file baseexperiment.h.

const P2& p2 ( ) const
inline

Returns the third parameter that is passed to the function.

Returns
the third parameter that is passed to the function

Definition at line 713 of file baseexperiment.h.


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