CppUnit project page | FAQ | CppUnit home page |
#include <SynchronizedObject.h>
Inheritance diagram for CppUnit::SynchronizedObject:
Public Methods | |
SynchronizedObject (SynchronizationObject *syncObject=0) | |
virtual | ~SynchronizedObject () |
Destructor. More... | |
Protected Methods | |
virtual void | setSynchronizationObject (SynchronizationObject *syncObject) |
Accept a new synchronization object for protection of this instance TestResult assumes ownership of the object. More... | |
Protected Attributes | |
SynchronizationObject * | m_syncObject |
Private Methods | |
SynchronizedObject (const SynchronizedObject ©) | |
Prevents the use of the copy constructor. More... | |
void | operator= (const SynchronizedObject ©) |
Prevents the use of the copy operator. More... |
Synchronized object are object which members are used concurrently by mutiple threads.
This class define the class SynchronizationObject which must be subclassed to implement an actual lock.
Each instance of this class holds a pointer on a lock object.
See src/msvc6/MfcSynchronizedObject.h for an example.
|
Constructs a SynchronizedObject object. |
|
Destructor.
|
|
Prevents the use of the copy constructor.
|
|
Prevents the use of the copy operator.
|
|
Accept a new synchronization object for protection of this instance TestResult assumes ownership of the object.
|
|
|
hosts this site. |
Send comments to: CppUnit Developers |