scim
1.4.9
|
A slot template for static functions taking no arguments and returning a value of type R. More...
#include <scim_slot.h>
Public Member Functions | |
FunctionSlot0 (PF function) | |
virtual R | call () const |
A slot template for static functions taking no arguments and returning a value of type R.
scim::FunctionSlot0< R >::FunctionSlot0 | ( | PF | function | ) | [inline] |
Construct a new function slot for a static function.
function | - static function with the signature R (*PF)(). |
virtual R scim::FunctionSlot0< R >::call | ( | ) | const [inline, virtual] |
Calls the function connected to this slot.
Implements scim::Slot0< R >.