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