nub::detail::weak_handle< T > Class Template Reference

Internal helper class for soft_ref. More...

#include <nub/weak_handle.h>

Collaboration diagram for nub::detail::weak_handle< T >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 weak_handle (T *master, ref_type tp) throw ()
 weak_handle (const weak_handle &other) throw ()
weak_handleoperator= (const weak_handle &other) throw ()
bool is_valid () const throw ()
T * get () const
T * get_weak () const throw ()
ref_type get_ref_type () const throw ()

Detailed Description

template<class T>
class nub::detail::weak_handle< T >

Internal helper class for soft_ref.

weak_handle manages memory etc., and provides one important guarantee: it will never return an invalid pointer from get() (an exception will be raised if this would fail).

Definition at line 60 of file weak_handle.h.


The documentation for this class was generated from the following file:
Generated on Sun May 8 08:44:41 2011 for iLab Neuromorphic Vision Toolkit by  doxygen 1.6.3