TAO_ESF  2.0.8
Public Types | Public Member Functions | Public Attributes | Private Attributes
TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK > Class Template Reference

TAO_ESF_Copy_On_Write_Read_Guard. More...

#include <ESF_Copy_On_Write.h>

Collaboration diagram for TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >:
Collaboration graph
[legend]

List of all members.

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

Collectioncollection

Private Attributes

ACE_LOCK & mutex

Detailed Description

template<class COLLECTION, class ITERATOR, class ACE_LOCK>
class TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >

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.


Member Typedef Documentation

template<class COLLECTION , class ITERATOR , class ACE_LOCK >
typedef TAO_ESF_Copy_On_Write_Collection<COLLECTION,ITERATOR> TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::Collection

Constructor.


Constructor & Destructor Documentation

template<class COLLECTION , class ITERATOR , class ACE_LOCK >
TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::TAO_ESF_Copy_On_Write_Read_Guard ( ACE_LOCK &  mutex,
Collection *&  collection 
)
template<class COLLECTION , class ITERATOR , class ACE_LOCK >
TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::~TAO_ESF_Copy_On_Write_Read_Guard ( void  )

Destructor.


Member Data Documentation

template<class COLLECTION , class ITERATOR , class ACE_LOCK >
Collection* TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::collection
template<class COLLECTION , class ITERATOR , class ACE_LOCK >
ACE_LOCK& TAO_ESF_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR, ACE_LOCK >::mutex [private]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Defines