scim::BoundSlot2_3< R, P1, P2, P3 > Class Template Reference
[SignalSlotSignalSlot]

Converts a slot taking three arguments into a slot taking two arguments. More...

#include <scim_bind.h>

Inherits scim::Slot2< R, P1, P2 >< R, P1, P2 >.

List of all members.

Public Member Functions

 BoundSlot2_3 (Slot3< R, P1, P2, P3 > *slot, P3 p3)
virtual R call (P1 p1, P2 p2) const
 Calls the original slot passing it arguments p1 and p2, and the bound argument p as the last parameter.


Detailed Description

template<typename R, typename P1, typename P2, typename P3>
class scim::BoundSlot2_3< R, P1, P2, P3 >

Converts a slot taking three arguments into a slot taking two arguments.


Constructor & Destructor Documentation

template<typename R, typename P1, typename P2, typename P3>
scim::BoundSlot2_3< R, P1, P2, P3 >::BoundSlot2_3 ( Slot3< R, P1, P2, P3 > *  slot,
P3  p3 
) [inline]

Constructor.

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


Member Function Documentation

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

Calls the original slot passing it arguments p1 and p2, and the bound argument p as the last parameter.

Implements scim::Slot2< R, P1, P2 >.


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