Unit Test Frameworks

   
SynchronizedObject::SynchronizationObject

Description

The class SynchronizationObject (see Figure C-15) is a nested class belonging to SynchronizedObject . It acts as the mutex for a SynchronizedObject and so can be locked or unlocked.

SynchronizationObject belongs to the namespace CppUnit . It is declared and implemented in SynchronizedObject.h.

Figure C-15. The nested class SynchronizationObject

Declaration

class SynchronizationObject

Constructors/Destructors

SynchronizationObject( )

A constructor.

~SynchronizationObject( )

A destructor.

Public Methods

virtual void lock( )

Locks the SynchronizationObject .

virtual void unlock( )

Unlocks the SynchronizationObject .

Protected/Private Methods

None.

Attributes

None.

Категории