GlobalObjects
Lade ...
Suche ...
Keine Treffer
EuCriticalSection.h
gehe zur Dokumentation dieser Datei
1#ifndef INC_EUCRITICALSECTION_H
2#define INC_EUCRITICALSECTION_H
3//-----------------------------------------------------------------------------
36//-----------------------------------------------------------------------------
37#include "EuToolTypes.h"
38#include <mutex>
39//-----------------------------------------------------------------------------
40namespace eut
41{
42 //---------------------------------------------------------------------------
43 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
44 #ifdef _MSC_VER
45 #pragma warning( disable : 4251 )
46 #endif
47 //---------------------------------------------------------------------------
94 {
95 private:
96 //============== Attribute
97 //-----------------------------------------------------------------------
110 //-----------------------------------------------------------------------
123 //-----------------------------------------------------------------------
124
125 public:
126 //============== Konstruktoren
127 //-----------------------------------------------------------------------
138 //-----------------------------------------------------------------------
149 //-----------------------------------------------------------------------
162 //-----------------------------------------------------------------------
163
164 //============== Methoden
165 //-----------------------------------------------------------------------
178 void lock();
179 //-----------------------------------------------------------------------
189 void unlock();
190 //-----------------------------------------------------------------------
202 bool isLocked() const;
203 //-----------------------------------------------------------------------
204
205 //============== Operatoren
206 //-----------------------------------------------------------------------
218 CriticalSection & operator= ( const CriticalSection & rT );
219 //-----------------------------------------------------------------------
220 };
221 //---------------------------------------------------------------------------
222 /* 'Bezeichner': Klasse 'Typ' benötigt eine DLL-Schnittstelle, die von... */
223 #ifdef _MSC_VER
224 #pragma warning( default : 4251 )
225 #endif
226 //---------------------------------------------------------------------------
227} // namespace eut
228#endif
Für jede Bibliothek, hier 'EuTools' gibt es eine Typen-Datei.
#define __tool_export_dll
Definition EuToolTypes.h:63
Ist ein Mutex, welcher über sein Lock-Modus abgefragt werden kann. Siehe isLocked().
Definition EuCriticalSection.h:94
CriticalSection(const CriticalSection &rT)
bool isLocked() const
bool m_bIsLocked
Definition EuCriticalSection.h:122
virtual ~CriticalSection()
std::mutex m_ExclusiveAccessMutex
Definition EuCriticalSection.h:109
Definition IniFile.h:47