Name

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.

The nested class SynchronizationObject
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.

Get Unit Test Frameworks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.