qpid::sys::CopyOnWriteArray< T > Class Template Reference

An array that copies on adding/removing element allowing lock-free iteration. More...

#include <CopyOnWriteArray.h>

Inheritance diagram for qpid::sys::CopyOnWriteArray< T >:

Inheritance graph
[legend]
Collaboration diagram for qpid::sys::CopyOnWriteArray< T >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef boost::shared_ptr
< const std::vector< T > > 
ConstPtr

Public Member Functions

 CopyOnWriteArray (const CopyOnWriteArray &c)
void add (T &t)
bool remove (T &t)
template<class F>
bool add_unless (T &t, F f)
template<class F>
bool remove_if (F f)
template<class F>
for_each (F f)
ConstPtr snapshot ()


Detailed Description

template<class T>
class qpid::sys::CopyOnWriteArray< T >

An array that copies on adding/removing element allowing lock-free iteration.

Definition at line 38 of file CopyOnWriteArray.h.


The documentation for this class was generated from the following file:

Generated on Thu Oct 16 13:38:39 2008 for Qpid by  doxygen 1.5.6