#include <Iguana/Utilities/classlib/utils/Hook.h>
Public Member Functions | |
virtual R | call (T1, T2)=0 |
Hook2Rep (void) | |
void | ref (void) |
void | unref (void) |
virtual | ~Hook2Rep (void) |
Private Attributes | |
int | m_refs |
Definition at line 84 of file Hook.h.
lat::Hook2Rep< R, T1, T2 >::Hook2Rep | ( | void | ) | [inline] |
virtual lat::Hook2Rep< R, T1, T2 >::~Hook2Rep | ( | void | ) | [inline, virtual] |
virtual R lat::Hook2Rep< R, T1, T2 >::call | ( | T1 | , | |
T2 | ||||
) | [pure virtual] |
void lat::Hook2Rep< R, T1, T2 >::ref | ( | void | ) | [inline] |
Definition at line 91 of file Hook.h.
References lat::Hook2Rep< R, T1, T2 >::m_refs.
00091 { ++m_refs; }
void lat::Hook2Rep< R, T1, T2 >::unref | ( | void | ) | [inline] |
Definition at line 92 of file Hook.h.
References lat::Hook2Rep< R, T1, T2 >::m_refs.
00092 { if (--m_refs == 0) delete this; }
int lat::Hook2Rep< R, T1, T2 >::m_refs [private] |
Definition at line 95 of file Hook.h.
Referenced by lat::Hook2Rep< R, T1, T2 >::ref(), and lat::Hook2Rep< R, T1, T2 >::unref().