#include <RMCast_Copy_On_Write.h>
Inheritance diagram for ACE_RMCast_Copy_On_Write


Public Types | |||
| typedef ACE_RMCast_Copy_On_Write_Read_Guard< COLLECTION,ITERATOR> | Read_Guard | ||
| The Read_Guard trait. | |||
| typedef ACE_RMCast_Copy_On_Write_Write_Guard< COLLECTION,ITERATOR> | Write_Guard | ||
| The Write_Guard trait. | |||
| typedef ACE_RMCast_Copy_On_Write_Collection< COLLECTION,ITERATOR> | Collection | ||
| The underlying collection type. | |||
Public Methods | |||
| ACE_RMCast_Copy_On_Write (void) | |||
| Constructor. | |||
| ~ACE_RMCast_Copy_On_Write (void) | |||
| Destructor. | |||
| int | for_each (ACE_RMCast_Worker<KEY,ITEM> *worker) | ||
Iterate over all the elements invoking
| |||
| KEY | first_key (void) | ||
| Get the first key. | |||
| int | empty (void) | ||
| Return non-zero if the collection is empty. | |||
| int | bind (KEY const & key, ITEM const & item) | ||
| Add a new element. | |||
| int | unbind (KEY const & key) | ||
| Remove an element. | |||
| int | bind_i (Write_Guard &guard, KEY const & key, ITEM const & item) | ||
| Bind assuming the Write_Guard is held. | |||
| int | unbind_i (Write_Guard &guard, KEY const & key) | ||
| Unbind assuming the Write_Guard is held. | |||
|
|||
|
The underlying collection type.
Reimplemented from ACE_RMCast_Copy_On_Write_Container. |
|
|||
|
The Read_Guard trait.
|
|
|||
|
The Write_Guard trait.
|
|
||||
|
Constructor.
|
|
||||
|
Destructor.
|
|
||||||
|
Add a new element.
|
|
||||||||
|
Bind assuming the Write_Guard is held.
|
|
||||
|
Return non-zero if the collection is empty.
|
|
||||
|
Get the first key.
|
|
||||
|
Iterate over all the elements invoking
|
|
||||
|
Remove an element.
|
|
||||||
|
Unbind assuming the Write_Guard is held.
|
1.2.3 written by Dimitri van Heesch,
© 1997-2000