BaseExperiment::OperationWrapperTwoParameters< T, P0, P1 > Class Template Reference
The class for operation wrappers taking two parameters. More...
Inheritance diagram for BaseExperiment::OperationWrapperTwoParameters< T, P0, P1 >:
Public Member Functions | |
OperationWrapperTwoParameters (T *experiment, void(T::*operation)(P0, P1), P0 p0, P1 p1) | |
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... | |
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 farsa::BaseExperiment::OperationWrapperTwoParameters< T, P0, P1 >
The class for operation wrappers taking two parameters.
This class is needed to be able to add and use operations from derived classes that take two parameters
Definition at line 574 of file baseexperiment.h.
Constructor & Destructor Documentation
|
inline |
Constructor.
- Parameters
-
experiment the pointer to the experiment operation the pointer to the member function of experiment implementing the operation p0 the first parameter that is passed to the function p1 the second parameter that is passed to the function
Definition at line 586 of file baseexperiment.h.
Member Function Documentation
|
inline |
Returns the first parameter that is passed to the function.
- Returns
- the first parameter that is passed to the function
Definition at line 601 of file baseexperiment.h.
|
inline |
Returns the second parameter that is passed to the function.
- Returns
- the second parameter that is passed to the function
Definition at line 612 of file baseexperiment.h.
The documentation for this class was generated from the following file:
- experiments/include/baseexperiment.h