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... | |
![]() | |
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
|
inline |
Constructor.
- Parameters
-
experiment the pointer to the experiment operation the pointer to the member function of experiment implementing the operation p0 the parameter that is passed to the function
Definition at line 516 of file baseexperiment.h.
Member Function Documentation
|
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:
- experiments/include/baseexperiment.h