Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Pages
platform
Concurrency
Tasks
ThreadedTaskWorkerRunner.h
1
// Copyright eeGeo Ltd (2012-2014), All Rights Reserved
2
3
#pragma once
4
5
#include "Types.h"
6
#include "TaskWorker.h"
7
#include "IRunnable.h"
8
#include "ITaskWorkerRunner.h"
9
#include "Thread.h"
10
11
namespace
Eegeo
12
{
13
namespace
Concurrency
14
{
15
namespace
Tasks
16
{
17
class
ThreadedTaskWorkerRunner
:
protected
Eegeo::NonCopyable
,
public
ITaskWorkerRunner
18
{
19
public
:
20
ThreadedTaskWorkerRunner
(
TaskWorker
& taskWorker,
IThreadService
& threadService);
21
~
ThreadedTaskWorkerRunner
();
22
void
RequestStop();
23
void
Stop();
24
void
Start();
25
bool
IsRunning()
const
;
26
27
private
:
28
TaskWorker
& m_taskWorker;
29
IRunnable
* m_pRunnable;
30
Thread
* m_pThread;
31
};
32
}
33
}
34
}
Generated on Sat Jun 10 2023 02:00:29 for eeGeo Platform SDK by
1.8.3.1