hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
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
utils
applicationFramework
src
Thread.hpp
Generated on Tue Jun 30 2015 19:42:10 for hce-node application by
1.8.1.2