Public Member Functions | List of all members
G::SlotImp2< T, P1, P2 > Class Template Reference

Part of the slot/signal system. More...

#include <gslot.h>

Inheritance diagram for G::SlotImp2< T, P1, P2 >:
G::SlotBase

Public Member Functions

 SlotImp2 (T &object, void(T::*fn)(P1, P2))
 
void callback (P1 p1, P2 p2)
 
- Public Member Functions inherited from G::SlotBase
 SlotBase ()
 Default constuctor. More...
 
virtual ~SlotBase ()
 Destructor. More...
 
void up ()
 Increments the reference count. More...
 
void down ()
 Decrements the reference count and does "delete this" on zero. More...
 

Detailed Description

template<typename T, typename P1, typename P2>
class G::SlotImp2< T, P1, P2 >

Part of the slot/signal system.

Definition at line 241 of file gslot.h.

Constructor & Destructor Documentation

template<typename T , typename P1 , typename P2 >
G::SlotImp2< T, P1, P2 >::SlotImp2 ( T &  object,
void(T::*)(P1, P2)  fn 
)
inline

Definition at line 247 of file gslot.h.

Member Function Documentation

template<typename T , typename P1 , typename P2 >
void G::SlotImp2< T, P1, P2 >::callback ( P1  p1,
P2  p2 
)
inline

Definition at line 248 of file gslot.h.


The documentation for this class was generated from the following file: