Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

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

#include <nub/weak_handle.h>

Collaboration diagram for nub::detail::weak_handle< T >:

Collaboration graph
[legend]
List of all members.

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.

Public Member Functions

 weak_handle (T *master, ref_type tp) throw ()
 ~weak_handle () 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 ()


The documentation for this class was generated from the following file:
Generated on Sun Nov 22 13:51:38 2009 for iLab Neuromorphic Vision Toolkit by  doxygen 1.4.4