scim 1.4.18
|
A slot template for methods in a class of type T taking six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R. More...
#include <scim_slot.h>
Public Member Functions | |
MethodSlot6 (T *object, PMF function) | |
virtual R | call (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const |
![]() | |
R | operator() (P1 p1, P2 p2, P3 p3, P4 p4, P5 p5, P6 p6) const |
Function operator; Calls call(). | |
![]() | |
bool | is_referenced () const |
void | ref () |
Increase an object's reference count by one. | |
void | unref () |
Additional Inherited Members | |
![]() | |
Slot6 () | |
Constructor. | |
![]() | |
Slot () | |
Constructor. | |
virtual | ~Slot ()=0 |
Destructor. | |
![]() | |
ReferencedObject () | |
Constructor. | |
virtual | ~ReferencedObject ()=0 |
Destructor. | |
void | set_referenced (bool reference) |
A slot template for methods in a class of type T taking six arguments of type P1, P2, P3, P4, P5 and P6, and returning a value of type R.
|
inline |
Construct a new method slot for a class member function.
object | - a pointer to an object of type T. |
function | - a class method with the signature R (T::*PMF)(P1, P2, P3, P4, P5, P6). |
|
inlinevirtual |
Calls the class method connected to this slot passing it arguments p1, p2, p3, p4, p5 and p6.
Implements scim::Slot6< R, P1, P2, P3, P4, P5, P6 >.
References scim::ReferencedObject::Pointer.