Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
usSharedData.h File Reference
#include <usAtomicInt_p.h>
#include <algorithm>
#include <utility>

Go to the source code of this file.

Classes

class  us::SharedData
 Base class for implicitly shared data with reference counting. More...
 
class  us::SharedDataPointer< T >
 A pointer to implicitly shared data with automatic copy-on-write semantics. More...
 
class  us::ExplicitlySharedDataPointer< T >
 A pointer to explicitly shared data requiring manual detach for copy-on-write. More...
 

Namespaces

 us
 

Functions

template<class T >
void us::swap (us::SharedDataPointer< T > &p1, us::SharedDataPointer< T > &p2)
 
template<class T >
void us::swap (us::ExplicitlySharedDataPointer< T > &p1, us::ExplicitlySharedDataPointer< T > &p2)