GlobalObjects
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
EuCriticalSection.h
Go to the documentation of this file.
1#ifndef INC_EUCRITICALSECTION_H
2#define INC_EUCRITICALSECTION_H
3//-----------------------------------------------------------------------------
68//-----------------------------------------------------------------------------
69#include "EuToolTypes.h"
70#include <mutex>
71//-----------------------------------------------------------------------------
72namespace eut
73{
74 //---------------------------------------------------------------------------
75 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
76 #ifdef _MSC_VER
77 #pragma warning( disable : 4251 )
78 #endif
79 //---------------------------------------------------------------------------
126 {
127 private:
128 //============== Attribute
129 //-----------------------------------------------------------------------
142 //-----------------------------------------------------------------------
155 //-----------------------------------------------------------------------
156
157 public:
158 //============== Konstruktoren
159 //-----------------------------------------------------------------------
170 //-----------------------------------------------------------------------
181 //-----------------------------------------------------------------------
194 //-----------------------------------------------------------------------
195
196 //============== Methoden
197 //-----------------------------------------------------------------------
210 void lock();
211 //-----------------------------------------------------------------------
221 void unlock();
222 //-----------------------------------------------------------------------
234 bool isLocked() const;
235 //-----------------------------------------------------------------------
236
237 //============== Operatoren
238 //-----------------------------------------------------------------------
250 CriticalSection & operator= ( const CriticalSection & rT );
251 //-----------------------------------------------------------------------
252 };
253 //---------------------------------------------------------------------------
254 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
255 #ifdef _MSC_VER
256 #pragma warning( default : 4251 )
257 #endif
258 //---------------------------------------------------------------------------
259} // namespace eut
260#endif
For each library, here 'EuTools' there is a type file.
#define __tool_export_dll
Definition EuToolTypes.h:94
CriticalSection(const CriticalSection &rT)
bool isLocked() const
bool m_bIsLocked
Definition EuCriticalSection.h:154
virtual ~CriticalSection()
std::mutex m_ExclusiveAccessMutex
Definition EuCriticalSection.h:141
Definition IniFile.h:79