#include <ESF_Copy_On_Write.h>
Public Types | |
typedef TAO_ESF_Copy_On_Write_Collection < COLLECTION, ITERATOR > | Collection |
Constructor. | |
Public Member Functions | |
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.
typedef TAO_ESF_Copy_On_Write_Collection<COLLECTION,ITERATOR> TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::Collection |
Constructor.
TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::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 | |||
) | [inline] |
TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::~TAO_ESF_Copy_On_Write_Write_Guard | ( | void | ) | [inline] |
Destructor.
Collection* TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::copy |
ACE_SYNCH_MUTEX_T& TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::mutex [private] |
ACE_SYNCH_CONDITION_T& TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::cond [private] |
int& TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::pending_writes [private] |
int& TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::writing_flag [private] |
Collection*& TAO_ESF_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR, >::collection [private] |