#include <scim_slot.h>
Inherits scim::Slot2< R, P1, P2 >< R, P1, P2 >.
Public Member Functions | |
MethodSlot2 (T *object, PMF function) | |
virtual R | call (P1 p1, P2 p2) const |
scim::MethodSlot2< T, R, P1, P2 >::MethodSlot2 | ( | T * | object, | |
PMF | function | |||
) | [inline] |
Construct a new method slot for a class member function.
object | - a pointer to an object of type T. | |
function | - a class method with the signature R (T::*PMF)(P1, P2). |
virtual R scim::MethodSlot2< T, R, P1, P2 >::call | ( | P1 | p1, | |
P2 | p2 | |||
) | const [inline, virtual] |
Calls the class method connected to this slot passing it arguments p1 and p2.
Implements scim::Slot2< R, P1, P2 >.