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

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

Base class template for slots passing one argument of type P1 and returning a value of type R. More...

#include <scim_slot.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual R call (P1 p1) const=0
 Calls the signal handler connected to this slot.

operator() (P1 p1) const
 Function operator; Calls call().


Protected Member Functions

 Slot1 ()
 Constructor.


Detailed Description

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

Base class template for slots passing one argument of type P1 and returning a value of type R.

Definition at line 213 of file scim_slot.h.


Constructor & Destructor Documentation

template<typename R, typename P1>
scim::Slot1< R, P1 >::Slot1  )  [inline, protected]
 

Constructor.

Definition at line 216 of file scim_slot.h.


Member Function Documentation

template<typename R, typename P1>
virtual R scim::Slot1< R, P1 >::call P1  p1  )  const [pure virtual]
 

Calls the signal handler connected to this slot.

Implemented in scim::BoundSlot1_2< R, P1, P2 >, scim::FunctionSlot1< R, P1 >, scim::MethodSlot1< T, R, P1 >, and scim::SignalSlot1< T, R, P1 >.

Referenced by scim::Slot1< R, P1 >::operator()().

template<typename R, typename P1>
R scim::Slot1< R, P1 >::operator() P1  p1  )  const [inline]
 

Function operator; Calls call().

Definition at line 223 of file scim_slot.h.

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


The documentation for this class was generated from the following file:
Generated on Fri May 7 17:27:32 2004 for scim by doxygen 1.3.6