#include <Iguana/Utilities/classlib/utils/Callback.h>
Public Member Functions | |
virtual void | call (T1 a, T2 b) |
CallbackImpC21 (C *object, void(C::*function)(T1, T2, T3), const T3 &fill_3) | |
virtual bool | equal (const Callback2Rep< T1, T2 > *other) const |
Private Types | |
typedef CallbackImpC21 | self |
Private Attributes | |
T3 | m_fill_3 |
void(C::* | m_function )(T1, T2, T3) |
C * | m_object |
Definition at line 509 of file Callback.h.
typedef CallbackImpC21 lat::CallbackImpC21< C, T1, T2, T3 >::self [private] |
Definition at line 511 of file Callback.h.
lat::CallbackImpC21< C, T1, T2, T3 >::CallbackImpC21 | ( | C * | object, | |
void(C::*)(T1, T2, T3) | function, | |||
const T3 & | fill_3 | |||
) | [inline] |
Definition at line 513 of file Callback.h.
00515 : m_object (object), 00516 m_function (function), 00517 m_fill_3 (fill_3) 00518 { }
virtual void lat::CallbackImpC21< C, T1, T2, T3 >::call | ( | T1 | a, | |
T2 | b | |||
) | [inline, virtual] |
Implements lat::Callback2Rep< T1, T2 >.
Definition at line 520 of file Callback.h.
References lat::CallbackImpC21< C, T1, T2, T3 >::m_fill_3, lat::CallbackImpC21< C, T1, T2, T3 >::m_function, and lat::CallbackImpC21< C, T1, T2, T3 >::m_object.
00521 { (m_object->*m_function) (a, b, m_fill_3); }
virtual bool lat::CallbackImpC21< C, T1, T2, T3 >::equal | ( | const Callback2Rep< T1, T2 > * | other | ) | const [inline, virtual] |
Implements lat::Callback2Rep< T1, T2 >.
Definition at line 523 of file Callback.h.
References lat::CallbackImpC21< C, T1, T2, T3 >::m_fill_3, lat::CallbackImpC21< C, T1, T2, T3 >::m_function, lat::CallbackImpC21< C, T1, T2, T3 >::m_object, and x.
00524 { const self *x = dynamic_cast<const self *> (other); 00525 return x && x->m_object == m_object && x->m_function == m_function 00526 && x->m_fill_3 == m_fill_3; }
T3 lat::CallbackImpC21< C, T1, T2, T3 >::m_fill_3 [private] |
Definition at line 531 of file Callback.h.
Referenced by lat::CallbackImpC21< C, T1, T2, T3 >::call(), and lat::CallbackImpC21< C, T1, T2, T3 >::equal().
void(C::* lat::CallbackImpC21< C, T1, T2, T3 >::m_function)(T1, T2, T3) [private] |
C* lat::CallbackImpC21< C, T1, T2, T3 >::m_object [private] |
Definition at line 529 of file Callback.h.
Referenced by lat::CallbackImpC21< C, T1, T2, T3 >::call(), and lat::CallbackImpC21< C, T1, T2, T3 >::equal().