scim
1.4.13
|
A slot template for methods in a class of type T taking two arguments of type P1 and P2, and returning a value of type R. More...
#include <scim_slot.h>
Public Member Functions | |
MethodSlot2 (T *object, PMF function) | |
virtual R | call (P1 p1, P2 p2) const |
A slot template for methods in a class of type T taking two arguments of type P1 and P2, and returning a value of type R.
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 >.