scim  1.4.18
scim::Slot2< R, P1, P2 > Class Template Referenceabstract

Base class template for slots passing two arguments of type P1 and P2, and returning a value of type R. More...

#include <scim_slot.h>

Public Member Functions

virtual R call (P1 p1, P2 p2) const =0
 Calls the signal handler connected to this slot. 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::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, typename P2>
class scim::Slot2< R, P1, P2 >

Base class template for slots passing two arguments of type P1 and P2, and returning a value of type R.

Member Function Documentation

◆ call()

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

Calls the signal handler connected to this slot.

Implemented in scim::SignalSlot2< T, R, P1, P2 >.


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