scim::BoundSlot0_1< R, P1 > Class Template Reference
[SignalSlot]

Converts a slot taking one argument into a slot taking no arguments. More...

#include <scim_bind.h>

List of all members.

Public Member Functions

 BoundSlot0_1 (Slot1< R, P1 > *slot, P1 p1)
virtual R call () const
 Calls the original slot passing it the bound argument p as the last parameter.


Detailed Description

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

Converts a slot taking one argument into a slot taking no arguments.

Constructor & Destructor Documentation

template<typename R , typename P1 >
scim::BoundSlot0_1< R, P1 >::BoundSlot0_1 ( Slot1< R, P1 > *  slot,
P1  p1 
) [inline]

Constructor.

Parameters:
slot - a pointer to a slot of type Slot1<R, P1>.
p1 - a bound argument of type P1


Member Function Documentation

template<typename R , typename P1 >
virtual R scim::BoundSlot0_1< R, P1 >::call (  )  const [inline, virtual]

Calls the original slot passing it the bound argument p as the last parameter.

Implements scim::Slot0< R >.


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

Generated on Sat Jan 24 23:45:06 2009 for scim by  doxygen 1.5.7.1