TAO_ESF
2.0.8
|
TAO_ESF_Copy_On_Write_Read_Guard. More...
#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_Read_Guard (ACE_LOCK &mutex, Collection *&collection) | |
~TAO_ESF_Copy_On_Write_Read_Guard (void) | |
Destructor. | |
Public Attributes | |
Collection * | collection |
Private Attributes | |
ACE_LOCK & | mutex |
TAO_ESF_Copy_On_Write_Read_Guard.
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_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::Collection |
Constructor.
TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::TAO_ESF_Copy_On_Write_Read_Guard | ( | ACE_LOCK & | mutex, |
Collection *& | collection | ||
) |
TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::~TAO_ESF_Copy_On_Write_Read_Guard | ( | void | ) |
Destructor.
Collection* TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::collection |
ACE_LOCK& TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::mutex [private] |