#include <Iguana/Utilities/classlib/utils/Callback.h>
Public Member Functions | |
virtual void | call (void) |
CallbackImpF02 (void(*function)(T1, T2), const T1 &fill_1, const T2 &fill_2) | |
virtual bool | equal (const CallbackRep *other) const |
Private Types | |
typedef CallbackImpF02 | self |
Private Attributes | |
T1 | m_fill_1 |
T2 | m_fill_2 |
void(* | m_function )(T1, T2) |
Definition at line 226 of file Callback.h.
typedef CallbackImpF02 lat::CallbackImpF02< T1, T2 >::self [private] |
Definition at line 228 of file Callback.h.
lat::CallbackImpF02< T1, T2 >::CallbackImpF02 | ( | void(*)(T1, T2) | function, | |
const T1 & | fill_1, | |||
const T2 & | fill_2 | |||
) | [inline] |
Definition at line 230 of file Callback.h.
00232 : m_function (function), 00233 m_fill_1 (fill_1), 00234 m_fill_2 (fill_2) 00235 { }
virtual void lat::CallbackImpF02< T1, T2 >::call | ( | void | ) | [inline, virtual] |
Implements lat::CallbackRep.
Definition at line 237 of file Callback.h.
References lat::CallbackImpF02< T1, T2 >::m_fill_1, and lat::CallbackImpF02< T1, T2 >::m_fill_2.
virtual bool lat::CallbackImpF02< T1, T2 >::equal | ( | const CallbackRep * | other | ) | const [inline, virtual] |
Implements lat::CallbackRep.
Definition at line 240 of file Callback.h.
References lat::CallbackImpF02< T1, T2 >::m_fill_1, lat::CallbackImpF02< T1, T2 >::m_fill_2, lat::CallbackImpF02< T1, T2 >::m_function, and x.
00241 { const self *x = dynamic_cast<const self *> (other); 00242 return x && x->m_function == m_function && x->m_fill_1 == m_fill_1 00243 && x->m_fill_2 == m_fill_2; }
T1 lat::CallbackImpF02< T1, T2 >::m_fill_1 [private] |
Definition at line 247 of file Callback.h.
Referenced by lat::CallbackImpF02< T1, T2 >::call(), and lat::CallbackImpF02< T1, T2 >::equal().
T2 lat::CallbackImpF02< T1, T2 >::m_fill_2 [private] |
Definition at line 248 of file Callback.h.
Referenced by lat::CallbackImpF02< T1, T2 >::call(), and lat::CallbackImpF02< T1, T2 >::equal().
void(* lat::CallbackImpF02< T1, T2 >::m_function)(T1, T2) [private] |
Referenced by lat::CallbackImpF02< T1, T2 >::equal().