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