scim
1.4.13
|
A slot template for static functions taking two arguments of type P1 and P2, and returning a value of type R. More...
#include <scim_slot.h>
Public Member Functions | |
FunctionSlot2 (PF function) | |
virtual R | call (P1 p1, P2 p2) const |
A slot template for static functions taking two arguments of type P1 and P2, and returning a value of type R.
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 >.