Go to the documentation of this file. 1 #ifndef CPPUNIT_SYNCHRONIZEDOBJECT_H
2 #define CPPUNIT_SYNCHRONIZEDOBJECT_H
53 : m_syncObject( syncObject )
86 #endif // CPPUNIT_SYNCHRONIZEDOBJECT_H
#define CPPUNIT_API
Definition: CppUnitApi.h:27
Locks a synchronization object in the current scope.
Definition: SynchronizedObject.h:48
SynchronizationObject * m_syncObject
Definition: SynchronizedObject.h:49
SynchronizationObject()
Definition: SynchronizedObject.h:30
virtual void unlock()
Definition: SynchronizedObject.h:34
~ExclusiveZone()
Definition: SynchronizedObject.h:58
Abstract synchronization object (mutex)
Definition: SynchronizedObject.h:28
ExclusiveZone(const ExclusiveZone &)
Prevents the use of the copy constructor.
SynchronizationObject * m_syncObject
Definition: SynchronizedObject.h:73
#define CPPUNIT_NS_BEGIN
Definition: Portability.h:105
#define CPPUNIT_NS_END
Definition: Portability.h:106
Base class for synchronized object.
Definition: SynchronizedObject.h:23
virtual ~SynchronizationObject()
Definition: SynchronizedObject.h:31
SynchronizedObject(const SynchronizedObject ©)
Prevents the use of the copy constructor.
ExclusiveZone(SynchronizationObject *syncObject)
Definition: SynchronizedObject.h:52
ExclusiveZone & operator=(const ExclusiveZone &)
Prevents the use of the copy operator.
virtual void lock()
Definition: SynchronizedObject.h:33