#include <RMCast_Copy_On_Write.h>
Inheritance diagram for ACE_RMCast_Copy_On_Write_Container:


Public Types | |
| typedef ACE_RMCast_Copy_On_Write_Collection< COLLECTION, ITERATOR > | Collection |
| A shorter name for the actual collection type. More... | |
Public Methods | |
| ACE_RMCast_Copy_On_Write_Container (void) | |
| Constructor. More... | |
Protected Attributes | |
| int | pending_writes_ |
| Number of pending writes. More... | |
| int | writing_ |
| If non-zero then a thread is changing the collection. More... | |
| ACE_SYNCH_MUTEX | mutex_ |
| A mutex to serialize access to the collection pointer. More... | |
| ACE_SYNCH_CONDITION | cond_ |
| A condition variable to wait to synchronize multiple writers. More... | |
| Collection * | collection_ |
| The collection, with reference counting added. More... | |
Friends | |
| class | ACE_RMCast_Copy_On_Write_Write_Guard< COLLECTION, ITERATOR > |
| Let the Write_Guard access the internal fields. More... | |
| class | ACE_RMCast_Copy_On_Write_Read_Guard< COLLECTION, ITERATOR > |
| Let the Read_Guard access the internal fields. More... | |
|
|||||
|
A shorter name for the actual collection type.
Reimplemented in ACE_RMCast_Copy_On_Write, 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. |
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001