Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::FuncSlot2< RetType, ParamType1, ParamType2 > Class Template Reference
[Core library]

Function-slot with 2 arguments. More...

#include <pslot.h>

Inheritance diagram for P::FuncSlot2< RetType, ParamType1, ParamType2 >:

P::Slot2< RetType, ParamType1, ParamType2 > List of all members.

Public Types

typedef RetType(* Callback )(ParamType1, ParamType2)

Public Member Functions

 FuncSlot2 (Callback cb)
 ~FuncSlot2 ()
RetType proxy (ParamType1 p1, ParamType2 p2)
FuncSlot2clone () const
bool operator== (const FuncSlot2 &slot) const

Detailed Description

template<class RetType, class ParamType1, class ParamType2>
class P::FuncSlot2< RetType, ParamType1, ParamType2 >

Function-slot with 2 arguments.

Author:
Christian Prochnow <cproch@seculogix.de>

Definition at line 356 of file pslot.h.


Member Typedef Documentation

template<class RetType, class ParamType1, class ParamType2>
typedef RetType(* P::FuncSlot2< RetType, ParamType1, ParamType2 >::Callback)(ParamType1, ParamType2)
 

Definition at line 358 of file pslot.h.


Constructor & Destructor Documentation

template<class RetType, class ParamType1, class ParamType2>
P::FuncSlot2< RetType, ParamType1, ParamType2 >::FuncSlot2 Callback  cb  )  [inline]
 

Definition at line 360 of file pslot.h.

Referenced by P::FuncSlot2< RetType, ParamType1, ParamType2 >::clone().

template<class RetType, class ParamType1, class ParamType2>
P::FuncSlot2< RetType, ParamType1, ParamType2 >::~FuncSlot2  )  [inline]
 

Definition at line 363 of file pslot.h.


Member Function Documentation

template<class RetType, class ParamType1, class ParamType2>
FuncSlot2* P::FuncSlot2< RetType, ParamType1, ParamType2 >::clone  )  const [inline, virtual]
 

Implements P::Slot2< RetType, ParamType1, ParamType2 >.

Definition at line 368 of file pslot.h.

References P::FuncSlot2< RetType, ParamType1, ParamType2 >::FuncSlot2().

template<class RetType, class ParamType1, class ParamType2>
bool P::FuncSlot2< RetType, ParamType1, ParamType2 >::operator== const FuncSlot2< RetType, ParamType1, ParamType2 > &  slot  )  const [inline]
 

Definition at line 371 of file pslot.h.

References P::slot().

template<class RetType, class ParamType1, class ParamType2>
RetType P::FuncSlot2< RetType, ParamType1, ParamType2 >::proxy ParamType1  p1,
ParamType2  p2
[inline, virtual]
 

Implements P::Slot2< RetType, ParamType1, ParamType2 >.

Definition at line 365 of file pslot.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:33 2004 for P::Classes by doxygen 1.3.3