#include <Iguana/Utilities/classlib/utils/Callback.h>
Public Member Functions | |
virtual void | call (T1 a) |
CallbackImpC11 (C *object, void(C::*function)(T1, T2), const T2 &fill_2) | |
virtual bool | equal (const Callback1Rep< T1 > *other) const |
Private Types | |
typedef CallbackImpC11 | self |
Private Attributes | |
T2 | m_fill_2 |
void(C::* | m_function )(T1, T2) |
C * | m_object |
Definition at line 353 of file Callback.h.
typedef CallbackImpC11 lat::CallbackImpC11< C, T1, T2 >::self [private] |
Definition at line 355 of file Callback.h.
lat::CallbackImpC11< C, T1, T2 >::CallbackImpC11 | ( | C * | object, | |
void(C::*)(T1, T2) | function, | |||
const T2 & | fill_2 | |||
) | [inline] |
Definition at line 357 of file Callback.h.
00359 : m_object (object), 00360 m_function (function), 00361 m_fill_2 (fill_2) 00362 { }
virtual void lat::CallbackImpC11< C, T1, T2 >::call | ( | T1 | a | ) | [inline, virtual] |
Implements lat::Callback1Rep< T1 >.
Definition at line 364 of file Callback.h.
References lat::CallbackImpC11< C, T1, T2 >::m_fill_2, lat::CallbackImpC11< C, T1, T2 >::m_function, and lat::CallbackImpC11< C, T1, T2 >::m_object.
00365 { (m_object->*m_function) (a, m_fill_2); }
virtual bool lat::CallbackImpC11< C, T1, T2 >::equal | ( | const Callback1Rep< T1 > * | other | ) | const [inline, virtual] |
Implements lat::Callback1Rep< T1 >.
Definition at line 367 of file Callback.h.
References lat::CallbackImpC11< C, T1, T2 >::m_fill_2, lat::CallbackImpC11< C, T1, T2 >::m_function, lat::CallbackImpC11< C, T1, T2 >::m_object, and x.
00368 { const self *x = dynamic_cast<const self *> (other); 00369 return x && x->m_object == m_object && x->m_function == m_function 00370 && x->m_fill_2 == m_fill_2; }
T2 lat::CallbackImpC11< C, T1, T2 >::m_fill_2 [private] |
Definition at line 375 of file Callback.h.
Referenced by lat::CallbackImpC11< C, T1, T2 >::call(), and lat::CallbackImpC11< C, T1, T2 >::equal().
void(C::* lat::CallbackImpC11< C, T1, T2 >::m_function)(T1, T2) [private] |
Referenced by lat::CallbackImpC11< C, T1, T2 >::call(), and lat::CallbackImpC11< C, T1, T2 >::equal().
C* lat::CallbackImpC11< C, T1, T2 >::m_object [private] |
Definition at line 373 of file Callback.h.
Referenced by lat::CallbackImpC11< C, T1, T2 >::call(), and lat::CallbackImpC11< C, T1, T2 >::equal().