SynchronizedObject::SynchronizationObject

   
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
figs/utf_ac15.gif

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.



Unit Test Frameworks
Unit Test Frameworks
ISBN: 0596006896
EAN: 2147483647
Year: 2006
Pages: 146
Authors: Paul Hamill

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net