#include <Iguana/Utilities/classlib/utils/Callback.h>
Public Member Functions | |
virtual void | call (void)=0 |
CallbackRep (void) | |
virtual bool | equal (const CallbackRep *x) const =0 |
void | ref (void) |
void | unref (void) |
virtual | ~CallbackRep (void) |
Private Attributes | |
int | m_refs |
Definition at line 21 of file Callback.h.
lat::CallbackRep::CallbackRep | ( | void | ) | [inline] |
virtual lat::CallbackRep::~CallbackRep | ( | void | ) | [inline, virtual] |
Implemented in lat::CallbackImpF00, lat::CallbackImpC00< C >, lat::CallbackImpF01< T1 >, lat::CallbackImpC01< C, T1 >, lat::CallbackImpF02< T1, T2 >, and lat::CallbackImpC02< C, T1, T2 >.
Referenced by lat::Callback::operator()().
virtual bool lat::CallbackRep::equal | ( | const CallbackRep * | x | ) | const [pure virtual] |
Implemented in lat::CallbackImpF00, lat::CallbackImpC00< C >, lat::CallbackImpF01< T1 >, lat::CallbackImpC01< C, T1 >, lat::CallbackImpF02< T1, T2 >, and lat::CallbackImpC02< C, T1, T2 >.
Referenced by lat::Callback::operator==().
Definition at line 30 of file Callback.h.
References m_refs.
Referenced by lat::Callback::Callback(), and lat::Callback::operator=().
00030 { ++m_refs; }
Definition at line 31 of file Callback.h.
References m_refs.
00031 { if (--m_refs == 0) delete this; }
int lat::CallbackRep::m_refs [private] |