#include <scim_slot.h>
Public Member Functions | |
FunctionSlot2 (PF function) | |
virtual R | call (P1 p1, P2 p2) const |
scim::FunctionSlot2< R, P1, P2 >::FunctionSlot2 | ( | PF | function | ) | [inline] |
Construct a new function slot for a static function.
function | - static function with the signature R (*PF)(P1, P2). |
virtual R scim::FunctionSlot2< R, P1, P2 >::call | ( | P1 | p1, | |
P2 | p2 | |||
) | const [inline, virtual] |
Calls the function connected to this slot passing it arguments p1 and p2.
Implements scim::Slot2< R, P1, P2 >.