pl-nk v0.4.5
Plonk|Plink|Plank are a set of cross-platform C/C++ frameworks for audio software development
Public Member Functions
WeakPointerContainer< OriginalType > Class Template Reference

This stores a weak reference using a WeakPointer. More...

Inherits SmartPointerContainer< SmartPointerType, enableWeak >.

List of all members.

Public Member Functions

 WeakPointerContainer (WeakPointerContainer const &copy) throw ()
 Copy constructor.
WeakPointerContaineroperator= (WeakPointerContainer const &other) throw ()
 Assignment operator.

Detailed Description

template<class OriginalType>
class WeakPointerContainer< OriginalType >

This stores a weak reference using a WeakPointer.

The orginal object can be obtained using fromWeak() but if the object has been since deleted the object return will be a new, default object of the specified type rather than the original. This is useful for avoiding circular dependencies in reference counted situations.

See also:
WeakPointer

Constructor & Destructor Documentation

template<class OriginalType >
WeakPointerContainer< OriginalType >::WeakPointerContainer ( WeakPointerContainer< OriginalType > const &  copy) throw () [inline]

Copy constructor.

Note that a deep copy is not made, the copy will refer to exactly the same data.


Member Function Documentation

template<class OriginalType >
WeakPointerContainer& WeakPointerContainer< OriginalType >::operator= ( WeakPointerContainer< OriginalType > const &  other) throw () [inline]

Assignment operator.


The documentation for this class was generated from the following file:
 All Classes Functions Typedefs Enumerations Enumerator Properties