scim  1.4.18
scim::Slot1< R, P1 > Class Template Referenceabstract

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. More...
 
operator() (P1 p1) 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

 Slot1 ()
 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)
 

Detailed Description

template<typename R, typename P1>
class scim::Slot1< R, P1 >

Base class template for slots passing one argument of type P1 and returning a value of type R.

Constructor & Destructor Documentation

◆ Slot1()

template<typename R, typename P1>
scim::Slot1< R, P1 >::Slot1 ( )
inlineprotected

Constructor.

Member Function Documentation

◆ call()

template<typename R, typename P1>
virtual R scim::Slot1< R, P1 >::call ( P1  p1) const
pure virtual

◆ operator()()

template<typename R, typename P1>
R scim::Slot1< R, P1 >::operator() ( P1  p1) const
inline

Function operator; Calls call().

References scim::Slot1< R, P1 >::call().


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