Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

ACE_RMCast_Copy_On_Write_Collection Class Template Reference

A wrapper to implement reference counted collections. More...

#include <RMCast_Copy_On_Write.h>

List of all members.

Public Methods

 ACE_RMCast_Copy_On_Write_Collection (void)
 Constructor.

void _incr_refcnt (void)
 Increment the reference count.

void _decr_refcnt (void)
 Decrement the reference count.


Public Attributes

COLLECTION collection
 The actual collection.


Private Attributes

ACE_UINT32 refcount_
 The reference count.


Detailed Description

template<class COLLECTION, class ITERATOR> template class ACE_RMCast_Copy_On_Write_Collection

A wrapper to implement reference counted collections.


Constructor & Destructor Documentation

template<classCOLLECTION, classITERATOR>
ACE_INLINE ACE_RMCast_Copy_On_Write_Collection< COLLECTION,ITERATOR >::ACE_RMCast_Copy_On_Write_Collection<COLLECTION, ITERATOR> ( void )
 

Constructor.


Member Function Documentation

template<classCOLLECTION, classITERATOR>
void ACE_RMCast_Copy_On_Write_Collection<COLLECTION, ITERATOR>::_decr_refcnt ( void )
 

Decrement the reference count.

template<classCOLLECTION, classITERATOR>
void ACE_RMCast_Copy_On_Write_Collection<COLLECTION, ITERATOR>::_incr_refcnt ( void )
 

Increment the reference count.


Member Data Documentation

template<classCOLLECTION, classITERATOR>
COLLECTION ACE_RMCast_Copy_On_Write_Collection<COLLECTION, ITERATOR>::collection
 

The actual collection.

template<classCOLLECTION, classITERATOR>
ACE_UINT32 ACE_RMCast_Copy_On_Write_Collection<COLLECTION, ITERATOR>::refcount_ [private]
 

The reference count.


The documentation for this class was generated from the following files:
Generated at Sat Dec 1 11:17:53 2001 for ACE_RMCast by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000