scim
1.4.13
|
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. | |
R | operator() () const |
Function operator; Calls call(). |
Protected Member Functions | |
Slot0 () | |
Constructor. | |
![]() | |
Slot () | |
Constructor. | |
virtual | ~Slot ()=0 |
Destructor. | |
![]() | |
ReferencedObject () | |
Constructor. | |
virtual | ~ReferencedObject ()=0 |
Destructor. | |
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().