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

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

#include <scim_bind.h>

Inherits scim::Slot0< R >< R >.

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 Jun 21 21:12:57 2008 for scim by  doxygen 1.4.7