|
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... | |
Public Member Functions inherited from scim::ReferencedObject | |
| bool | is_referenced () const |
| void | ref () |
| Increase an object's reference count by one. More... | |
| void | unref () |
Protected Member Functions | |
| Slot0 () | |
| Constructor. More... | |
Protected Member Functions inherited from scim::Slot | |
| Slot () | |
| Constructor. More... | |
| virtual | ~Slot ()=0 |
| Destructor. More... | |
Protected Member Functions inherited from scim::ReferencedObject | |
| 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(), and scim::Signal0< void, IgnoreMarshal >::emit().
|
inline |
Function operator; Calls call().