#include <RMCast_Copy_On_Write.h>
Collaboration diagram for ACE_RMCast_Copy_On_Write_Write_Guard:
Public Types | |
typedef ACE_RMCast_Copy_On_Write_Collection< COLLECTION, ITERATOR > | Collection |
typedef ACE_RMCast_Copy_On_Write_Container< COLLECTION, ITERATOR > | Container |
Public Methods | |
ACE_RMCast_Copy_On_Write_Write_Guard (Container &container) | |
Constructor. More... | |
~ACE_RMCast_Copy_On_Write_Write_Guard (void) | |
Destructor. More... | |
Public Attributes | |
Collection * | copy |
The collection. More... | |
Private Attributes | |
ACE_SYNCH_MUTEX & | mutex |
Keep a reference to the mutex. More... | |
ACE_SYNCH_CONDITION & | cond |
Keep a reference to the condition variable. More... | |
int & | pending_writes |
Use a reference to update the pending writes count. More... | |
int & | writing_flag |
Use a reference to update the writing flag. More... | |
Collection *& | collection |
Use this reference to update the collection once the modifications are finished. More... |
This helper class atomically increments the reference count of a ACE_RMCast_Copy_On_Write_Collection and reads the current collection in the Copy_On_Write class.
|
|
|
|
|
Constructor.
|
|
Destructor.
|
|
Use this reference to update the collection once the modifications are finished.
|
|
Keep a reference to the condition variable.
|
|
The collection.
|
|
Keep a reference to the mutex.
|
|
Use a reference to update the pending writes count.
|
|
Use a reference to update the writing flag.
|