scim  1.4.13
scim::Slot2< R, P1, P2 > Class Template Reference

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>

List of all members.

Public Member Functions

virtual R call (P1 p1, P2 p2) const =0
 Calls the signal handler connected to this slot.
operator() (P1 p1, P2 p2) const
 Function operator; Calls call().

Protected Member Functions

 Slot2 ()
 Constructor.

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.


Constructor & Destructor Documentation

template<typename R, typename P1, typename P2>
scim::Slot2< R, P1, P2 >::Slot2 ( ) [inline, protected]

Constructor.


Member Function Documentation

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

Function operator; Calls call().

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


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