|
scim
1.4.14
|
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 |
Public Member Functions inherited from scim::Slot2< R, P1, P2 > | |
| R | operator() (P1 p1, P2 p2) const |
| Function operator; Calls call(). | |
Additional Inherited Members | |
Protected Member Functions inherited from scim::Slot2< R, P1, P2 > | |
| Slot2 () | |
| Constructor. | |
A slot template for static functions taking two arguments of type P1 and P2, and returning a value of type R.
|
inline |
Construct a new function slot for a static function.
| function | - static function with the signature R (*PF)(P1, P2). |
|
inlinevirtual |
Calls the function connected to this slot passing it arguments p1 and p2.
Implements scim::Slot2< R, P1, P2 >.