hce-node application  1.4.3
HCE Hierarchical Cluster Engine node application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
HCE::Utils::Thread Class Reference

< monitors thread state so I created own class Thread which provides all functions for runnable class. More...

#include <Thread.hpp>

Public Member Functions

 Thread ()
virtual ~Thread ()
bool isRunning ()
void start ()
void stop ()
void join ()
virtual void run ()=0
 < must be overridden in inheritance classes

Protected Attributes

bool _exitFlag

Detailed Description

< monitors thread state so I created own class Thread which provides all functions for runnable class.

< class Poco::Runnable does not provide flag which

Definition at line 26 of file Thread.hpp.

Constructor & Destructor Documentation

HCE::Utils::Thread::Thread ( )

Definition at line 3 of file Thread.cpp.

HCE::Utils::Thread::~Thread ( )
virtual

Definition at line 5 of file Thread.cpp.

Member Function Documentation

bool HCE::Utils::Thread::isRunning ( )

Definition at line 36 of file Thread.cpp.

void HCE::Utils::Thread::join ( )

Definition at line 27 of file Thread.cpp.

virtual void HCE::Utils::Thread::run ( )
pure virtual

< must be overridden in inheritance classes

void HCE::Utils::Thread::start ( )

Definition at line 9 of file Thread.cpp.

void HCE::Utils::Thread::stop ( )

Definition at line 18 of file Thread.cpp.

Member Data Documentation

bool HCE::Utils::Thread::_exitFlag
protected

Definition at line 30 of file Thread.hpp.


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