#include <Iguana/Utilities/classlib/utils/Hook.h>
Public Member Functions | |
virtual R | call (T1 a, T2 b) |
HookImpC20 (C *object, R(C::*function)(T1, T2)) | |
Private Attributes | |
R(C::* | m_function )(T1, T2) |
C * | m_object |
Definition at line 363 of file Hook.h.
lat::HookImpC20< C, R, T1, T2 >::HookImpC20 | ( | C * | object, | |
R(C::*)(T1, T2) | function | |||
) | [inline] |
Definition at line 366 of file Hook.h.
00367 : m_object (object), 00368 m_function (function) 00369 { }
virtual R lat::HookImpC20< C, R, T1, T2 >::call | ( | T1 | a, | |
T2 | b | |||
) | [inline, virtual] |
Implements lat::Hook2Rep< R, T1, T2 >.
Definition at line 371 of file Hook.h.
References lat::HookImpC20< C, R, T1, T2 >::m_function, and lat::HookImpC20< C, R, T1, T2 >::m_object.
00372 { return (m_object->*m_function) (a, b); }
R(C::* lat::HookImpC20< C, R, T1, T2 >::m_function)(T1, T2) [private] |
Referenced by lat::HookImpC20< C, R, T1, T2 >::call().
C* lat::HookImpC20< C, R, T1, T2 >::m_object [private] |