#include <Iguana/Utilities/classlib/utils/Callback.h>
Public Member Functions | |
virtual void | call (void) |
CallbackImpC02 (C *object, void(C::*function)(T1, T2), const T1 &fill_1, const T2 &fill_2) | |
virtual bool | equal (const CallbackRep *other) const |
Private Types | |
typedef CallbackImpC02 | self |
Private Attributes | |
T1 | m_fill_1 |
T2 | m_fill_2 |
void(C::* | m_function )(T1, T2) |
C * | m_object |
Definition at line 253 of file Callback.h.
typedef CallbackImpC02 lat::CallbackImpC02< C, T1, T2 >::self [private] |
Definition at line 255 of file Callback.h.
lat::CallbackImpC02< C, T1, T2 >::CallbackImpC02 | ( | C * | object, | |
void(C::*)(T1, T2) | function, | |||
const T1 & | fill_1, | |||
const T2 & | fill_2 | |||
) | [inline] |
Definition at line 257 of file Callback.h.
00259 : m_object (object), 00260 m_function (function), 00261 m_fill_1 (fill_1), 00262 m_fill_2 (fill_2) 00263 { }
virtual void lat::CallbackImpC02< C, T1, T2 >::call | ( | void | ) | [inline, virtual] |
Implements lat::CallbackRep.
Definition at line 265 of file Callback.h.
References lat::CallbackImpC02< C, T1, T2 >::m_fill_1, lat::CallbackImpC02< C, T1, T2 >::m_fill_2, lat::CallbackImpC02< C, T1, T2 >::m_function, and lat::CallbackImpC02< C, T1, T2 >::m_object.
00266 { (m_object->*m_function) (m_fill_1, m_fill_2); }
virtual bool lat::CallbackImpC02< C, T1, T2 >::equal | ( | const CallbackRep * | other | ) | const [inline, virtual] |
Implements lat::CallbackRep.
Definition at line 268 of file Callback.h.
References lat::CallbackImpC02< C, T1, T2 >::m_fill_1, lat::CallbackImpC02< C, T1, T2 >::m_fill_2, lat::CallbackImpC02< C, T1, T2 >::m_function, lat::CallbackImpC02< C, T1, T2 >::m_object, and x.
00269 { const self *x = dynamic_cast<const self *> (other); 00270 return x && x->m_object == m_object && x->m_function == m_function 00271 && x->m_fill_1 == m_fill_1 && x->m_fill_2 == m_fill_2; }
T1 lat::CallbackImpC02< C, T1, T2 >::m_fill_1 [private] |
Definition at line 276 of file Callback.h.
Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().
T2 lat::CallbackImpC02< C, T1, T2 >::m_fill_2 [private] |
Definition at line 277 of file Callback.h.
Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().
void(C::* lat::CallbackImpC02< C, T1, T2 >::m_function)(T1, T2) [private] |
Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().
C* lat::CallbackImpC02< C, T1, T2 >::m_object [private] |
Definition at line 274 of file Callback.h.
Referenced by lat::CallbackImpC02< C, T1, T2 >::call(), and lat::CallbackImpC02< C, T1, T2 >::equal().