HCE project C++ developers source code library
1.1.1
HCE project developer library
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Thread.hpp
Go to the documentation of this file.
1
14
#ifndef THREAD
15
#define THREAD
16
17
#include <Poco/Thread.h>
18
#include "
./exceptions/ThreadAlreadyRunningException.hpp
"
19
#include "
./exceptions/ThreadAlreadyJoinedException.hpp
"
20
#include <Poco/Runnable.h>
21
22
namespace
HCE {
23
namespace
Utils {
26
class
Thread
:
public
Poco::Runnable {
27
private
:
28
Poco::Thread _ownThread;
29
protected
:
30
bool
_exitFlag
;
31
public
:
32
Thread
();
33
virtual
~Thread
();
34
public
:
35
bool
isRunning
();
36
void
start
();
37
void
stop
();
38
void
join
();
39
public
:
41
virtual
void
run
() = 0;
42
};
43
}
44
}
45
46
#endif
sources
applicationFramework
src
Thread.hpp
Generated on Mon Jan 13 2014 13:08:36 for HCE project C++ developers source code library by
1.8.1.2