Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members

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>

Inheritance diagram for scim::BoundSlot0_1< R, P1 >:

Inheritance graph
[legend]
Collaboration diagram for scim::BoundSlot0_1< R, P1 >:

Collaboration graph
[legend]
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.

Definition at line 59 of file scim_bind.h.


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
Definition at line 65 of file scim_bind.h.

References scim::slot().


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 >.

Definition at line 70 of file scim_bind.h.


The documentation for this class was generated from the following file:
Generated on Thu Dec 30 21:03:20 2004 for scim by doxygen 1.3.8