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