qpid::sys::CopyOnWriteArray< T > Class Template Reference
An array that copies on adding/removing element allowing lock-free iteration.
More...
#include <CopyOnWriteArray.h>
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> |
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:
- /home/nsantos/projects/mrg-team/testing/magnum/f10/qpidc/qpid/cpp/src/qpid/sys/CopyOnWriteArray.h