#include <RMCast_Copy_On_Write.h>
Inheritance diagram for ACE_RMCast_Copy_On_Write_Container< COLLECTION, ITERATOR >:
Public Types | |
typedef ACE_RMCast_Copy_On_Write_Collection< COLLECTION, ITERATOR > | Collection |
A shorter name for the actual collection type. | |
Public Member Functions | |
ACE_RMCast_Copy_On_Write_Container (void) | |
Constructor. | |
Protected Attributes | |
int | pending_writes_ |
Number of pending writes. | |
int | writing_ |
If non-zero then a thread is changing the collection. | |
ACE_SYNCH_MUTEX | mutex_ |
A mutex to serialize access to the collection pointer. | |
ACE_SYNCH_CONDITION | cond_ |
A condition variable to wait to synchronize multiple writers. | |
Collection * | collection_ |
The collection, with reference counting added. | |
Friends | |
class | ACE_RMCast_Copy_On_Write_Write_Guard<COLLECTION,ITERATOR> |
Let the Write_Guard access the internal fields. | |
class | ACE_RMCast_Copy_On_Write_Read_Guard<COLLECTION,ITERATOR> |
Let the Read_Guard access the internal fields. |
|
A shorter name for the actual collection type.
Reimplemented in ACE_RMCast_Copy_On_Write< KEY, ITEM, COLLECTION, ITERATOR >, and ACE_RMCast_Copy_On_Write< ACE_UINT32, ACE_RMCast::Data, Collection, Collection_Iterator >. |
|
Constructor.
|
|
Let the Read_Guard access the internal fields.
|
|
Let the Write_Guard access the internal fields.
|
|
The collection, with reference counting added.
|
|
A condition variable to wait to synchronize multiple writers.
|
|
A mutex to serialize access to the collection pointer.
|
|
Number of pending writes.
|
|
If non-zero then a thread is changing the collection. Many threads can use the collection simulatenously, but only one change it. |