TAO_ESF  2.0.7
Public Types | Public Member Functions | Public Attributes | Private Attributes
TAO_ESF_Copy_On_Write_Write_Guard Class Reference

TAO_ESF_Copy_On_Write_Write_Guard. More...

#include <ESF_Copy_On_Write.h>

Collaboration diagram for TAO_ESF_Copy_On_Write_Write_Guard:
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_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

Collectioncopy

Private Attributes

ACE_SYNCH_MUTEX_Tmutex
ACE_SYNCH_CONDITION_Tcond
int & pending_writes
int & writing_flag
Collection *& collection

Detailed Description

TAO_ESF_Copy_On_Write_Write_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

Constructor.


Constructor & Destructor Documentation

TAO_ESF_Copy_On_Write_Write_Guard::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::~TAO_ESF_Copy_On_Write_Write_Guard ( void  )

Destructor.


Member Data Documentation


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