scim 1.4.18
|
Converts a slot taking one argument into a slot taking no arguments. More...
#include <scim_bind.h>
Public Member Functions | |
BoundSlot0_1 (Slot1< R, P1 > *slot, P1 p1) | |
virtual R | call () const |
Calls the original slot passing it the bound argument p as the last parameter. | |
![]() | |
R | operator() () const |
Function operator; Calls call(). | |
![]() | |
bool | is_referenced () const |
void | ref () |
Increase an object's reference count by one. | |
void | unref () |
Additional Inherited Members | |
![]() | |
Slot0 () | |
Constructor. | |
![]() | |
Slot () | |
Constructor. | |
virtual | ~Slot ()=0 |
Destructor. | |
![]() | |
ReferencedObject () | |
Constructor. | |
virtual | ~ReferencedObject ()=0 |
Destructor. | |
void | set_referenced (bool reference) |
Converts a slot taking one argument into a slot taking no arguments.
Constructor.
slot | - a pointer to a slot of type Slot1<R, P1>. |
p1 | - a bound argument of type P1 |
|
inlinevirtual |
Calls the original slot passing it the bound argument p as the last parameter.
Implements scim::Slot0< R >.