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