#include <Iguana/Utilities/classlib/utils/Hook.h>
Public Member Functions | |
virtual R | call (T1)=0 |
Hook1Rep (void) | |
void | ref (void) |
void | unref (void) |
virtual | ~Hook1Rep (void) |
Private Attributes | |
int | m_refs |
Definition at line 51 of file Hook.h.
lat::Hook1Rep< R, T1 >::Hook1Rep | ( | void | ) | [inline] |
virtual lat::Hook1Rep< R, T1 >::~Hook1Rep | ( | void | ) | [inline, virtual] |
virtual R lat::Hook1Rep< R, T1 >::call | ( | T1 | ) | [pure virtual] |
void lat::Hook1Rep< R, T1 >::ref | ( | void | ) | [inline] |
Definition at line 58 of file Hook.h.
References lat::Hook1Rep< R, T1 >::m_refs.
00058 { ++m_refs; }
void lat::Hook1Rep< R, T1 >::unref | ( | void | ) | [inline] |
Definition at line 59 of file Hook.h.
References lat::Hook1Rep< R, T1 >::m_refs.
00059 { if (--m_refs == 0) delete this; }
int lat::Hook1Rep< R, T1 >::m_refs [private] |
Definition at line 62 of file Hook.h.
Referenced by lat::Hook1Rep< R, T1 >::ref(), and lat::Hook1Rep< R, T1 >::unref().