scim  1.4.18
scim::SignalSlot0< T, R > Class Template Reference

#include <scim_slot.h>

Public Member Functions

 SignalSlot0 (T *signal, PF function)
 
virtual R call () const
 Calls the signal handler connected to this slot. More...
 
- Public Member Functions inherited from scim::Slot0< 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from scim::Slot0< R >
 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)
 

Constructor & Destructor Documentation

◆ SignalSlot0()

template<typename T , typename R >
scim::SignalSlot0< T, R >::SignalSlot0 ( T *  signal,
PF  function 
)
inline

Member Function Documentation

◆ call()

template<typename T , typename R >
virtual R scim::SignalSlot0< T, R >::call ( ) const
inlinevirtual

Calls the signal handler connected to this slot.

Implements scim::Slot0< R >.


The documentation for this class was generated from the following file: