#include <OperationThreadManager.h>
Public Member Functions | |
virtual AbstractOperation * | getOperation () const |
OperationThreadManager (AbstractOperation *operation, AbstractDataHandler *dataHandler) | |
Default constructor. | |
virtual void | setTask (te::common::TaskProgress *task) |
virtual void | start (const bool useThreads=true) |
virtual void | startAsync (OperationThreadManagerListener *listener) |
virtual void | stop () |
virtual | ~OperationThreadManager () |
Virtual destructor. | |
Protected Member Functions | |
void | startImpl (te::vp::OperationThreadManagerListener *listener, const bool useThreads) |
void | stopThread () |
Static Protected Member Functions | |
static void | ExecuteOperation (te::vp::AbstractOperation *operation, te::vp::AbstractDataHandler *dataHandler, std::size_t groupIndex, te::common::TaskProgress *taskProgress) |
Protected Attributes | |
std::unique_ptr< AbstractDataHandler > | m_dataHandler |
std::unique_ptr< AbstractOperation > | m_operation |
te::common::TaskProgress * | m_task |
std::thread * | m_thread |
Definition at line 47 of file OperationThreadManager.h.
te::vp::OperationThreadManager::OperationThreadManager | ( | AbstractOperation * | operation, |
AbstractDataHandler * | dataHandler | ||
) |
Default constructor.
|
virtual |
Virtual destructor.
|
staticprotected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
protected |
|
virtual |
|
protected |
|
protected |
Definition at line 69 of file OperationThreadManager.h.
|
protected |
Definition at line 68 of file OperationThreadManager.h.
|
protected |
Definition at line 71 of file OperationThreadManager.h.
|
protected |
Definition at line 70 of file OperationThreadManager.h.