1#ifndef INC_EUREPEATINGTHREAD_H
2#define INC_EUREPEATINGTHREAD_H
56#include <condition_variable>
62 #pragma warning( disable : 4251 )
757 #pragma warning( default : 4251 )
Header für CriticalSection
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuCriticalSection.h:109
RepeatingThread(const RepeatingThread &)
virtual ~RepeatingThread()
std::string m_strDebugInfo
Definition EuRepeatingThread.h:430
EuTHREADERROR
Fehlerbereich = -10301 bis -10400
Definition EuRepeatingThread.h:109
@ EuTHREAD_ERR_THREAD_BREAK_COUNT_LESS_THAN_ZERO
Definition EuRepeatingThread.h:140
@ EuTHREAD_ERR_NO_THREAD
Definition EuRepeatingThread.h:120
@ EuTHREAD_ERR_THREAD_ALREADY_WORKING
Definition EuRepeatingThread.h:130
@ EuTHREAD_ERR_UNKNOWN
Definition EuRepeatingThread.h:150
void setStatus(STATUS eStatus)
ORDER m_eOrder
Definition EuRepeatingThread.h:286
std::thread * m_pThread
Definition EuRepeatingThread.h:297
std::condition_variable m_InputCondVar
Definition EuRepeatingThread.h:336
virtual void finishBreak()
std::mutex m_BreakMutex
Definition EuRepeatingThread.h:348
void unsetExclusiveAccess()
int m_iDataReady
Definition EuRepeatingThread.h:414
ORDER
Definition EuRepeatingThread.h:229
@ eUNDEFINED
Definition EuRepeatingThread.h:239
@ eDO_WORK
Definition EuRepeatingThread.h:249
@ eEXIT
Definition EuRepeatingThread.h:259
int m_iBreakCounter
Definition EuRepeatingThread.h:379
std::condition_variable m_BreakCondVar
Definition EuRepeatingThread.h:360
STATUS
Definition EuRepeatingThread.h:166
@ eAT_THE_START
Definition EuRepeatingThread.h:176
@ eCOMPLETED
Definition EuRepeatingThread.h:216
@ ePAUSING
Definition EuRepeatingThread.h:196
@ eENDING
Definition EuRepeatingThread.h:206
@ eWORKING
Definition EuRepeatingThread.h:186
RepeatingThread::STATUS status() const
CriticalSection m_ExclusiveAccessSection
Definition EuRepeatingThread.h:312
STATUS m_eStatus
Definition EuRepeatingThread.h:275
void toOrder(ORDER eOrder)
bool isInExclusiveAccess() const
void setExclusiveAccess()
virtual void takeABreak()
std::mutex m_WaitMutex
Definition EuRepeatingThread.h:324