BaseExperiment::OperationWrapper< T > Class Template Reference

The class for operation wrappers. More...

Inheritance diagram for BaseExperiment::OperationWrapper< T >:

Public Member Functions

 OperationWrapper (T *experiment, void(T::*operation)())
 Constructor. 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 farsa::BaseExperiment::OperationWrapper< T >

The class for operation wrappers.

This class is needed to be able to add and use operations from derived classes

Definition at line 453 of file baseexperiment.h.

Constructor & Destructor Documentation

OperationWrapper ( T *  experiment,
void(T::*)()  operation 
)
inline

Constructor.

Parameters
experimentthe pointer to the experiment
operationthe pointer to the member function of experiment implementing the operation

Definition at line 463 of file baseexperiment.h.


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