scim
1.4.18
|
Base class template for slots passing no arguments and returning a value of type R. More...
#include <scim_slot.h>
Public Member Functions | |
virtual R | call () const =0 |
Calls the signal handler connected to this slot. More... | |
R | operator() () 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 | |
Slot0 () | |
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 no arguments and returning a value of type R.
|
inlineprotected |
Constructor.
|
pure virtual |
Calls the signal handler connected to this slot.
Implemented in scim::SignalSlot0< T, R >, scim::MethodSlot0< T, R >, scim::FunctionSlot0< R >, and scim::BoundSlot0_1< R, P1 >.
Referenced by scim::Signal0< R, Marshal >::emit(), scim::Signal0< void, IgnoreMarshal >::emit(), and scim::Slot0< R >::operator()().
|
inline |
Function operator; Calls call().
References scim::Slot0< R >::call().