#include <ESF_Copy_On_Write.h>
Collaboration diagram for TAO_ESF_Copy_On_Write_Write_Guard:

Public Types | |
| typedef TAO_ESF_Copy_On_Write_Collection< COLLECTION,ITERATOR> | Collection |
| Constructor. | |
Public Methods | |
| TAO_ESF_Copy_On_Write_Write_Guard (ACE_SYNCH_MUTEX_T &mutex, ACE_SYNCH_CONDITION_T &cond, int &pending_writes, int &writing_flag, Collection*& collection) | |
| ~TAO_ESF_Copy_On_Write_Write_Guard (void) | |
| Destructor. | |
Public Attributes | |
| Collection* | copy |
Private Attributes | |
| ACE_SYNCH_MUTEX_T& | mutex |
| ACE_SYNCH_CONDITION_T& | cond |
| int& | pending_writes |
| int& | writing_flag |
| Collection*& | collection |
This helper class atomically increments the reference count of a TAO_ESF_Copy_On_Write_Collection and reads the current collection in the Copy_On_Write class.
|
|||
|
Constructor.
|
|
||||||||||||
|
|
|
||||
|
Destructor.
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
|
|||
|
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000