
#include <nub/ref.h>
Collaboration diagram for nub::ref< T >:

Definition at line 134 of file ref.h.
Public Member Functions | |
| ref (nub::uid i) | |
| ref (T *ptr, ref_vis vis=DEFAULT) | |
| template<class U> | |
| ref (const ref< U > &other) | |
| template<class U> | |
| ref (const soft_ref< U > &other) | |
| void | reset (T *p) |
| Shorthand for assignment. | |
| T * | operator-> () const throw () |
| T & | operator * () const throw () |
| T * | get () const throw () |
| bool | operator== (const ref &other) const throw () |
| bool | operator!= (const ref &other) const throw () |
| nub::uid | id () const throw () |
| bool | operator< (const ref &other) const throw () |
| Comparison operator for sorting. | |
|
||||||||||
|
Comparison operator for sorting. |
|
||||||||||
|
Shorthand for assignment. Given ref<T> rr and T* p, then rr.reset(p) is shorthand for rr=ref<T>(p). But of course, rr.reset(p) is much less typing if T happens to be spelt SomeLongType<WithTemplateParams>. Definition at line 166 of file ref.h. Referenced by EyeTrackerConfigurator::paramChanged(), VisualCortexConfigurator::paramChanged(), and InferoTemporalConfigurator::paramChanged(). |
1.4.4