scim
1.4.18
|
Base class template for slots passing two arguments of type P1 and P2, and returning a value of type R. More...
#include <scim_slot.h>
Public Member Functions | |
virtual R | call (P1 p1, P2 p2) const =0 |
Calls the signal handler connected to this slot. More... | |
R | operator() (P1 p1, P2 p2) const |
Function operator; Calls call(). More... | |
![]() | |
bool | is_referenced () const |
void | ref () |
Increase an object's reference count by one. More... | |
void | unref () |
Protected Member Functions | |
Slot2 () | |
Constructor. More... | |
![]() | |
Slot () | |
Constructor. More... | |
virtual | ~Slot ()=0 |
Destructor. More... | |
![]() | |
ReferencedObject () | |
Constructor. More... | |
virtual | ~ReferencedObject ()=0 |
Destructor. More... | |
void | set_referenced (bool reference) |
Base class template for slots passing two arguments of type P1 and P2, and returning a value of type R.
|
inlineprotected |
Constructor.
|
pure virtual |
Calls the signal handler connected to this slot.
Implemented in scim::SignalSlot2< T, R, P1, P2 >, scim::MethodSlot2< T, R, P1, P2 >, scim::FunctionSlot2< R, P1, P2 >, and scim::BoundSlot2_3< R, P1, P2, P3 >.
Referenced by scim::Signal2< R, P1, P2, Marshal >::emit(), scim::Signal2< void, P1, P2, IgnoreMarshal >::emit(), and scim::Slot2< R, P1, P2 >::operator()().
|
inline |
Function operator; Calls call().
References scim::Slot2< R, P1, P2 >::call().