Back to index

extremetuxracer  0.5beta
Public Types | Public Member Functions | Private Attributes
pp::Slot0< T > Class Template Reference

#include <signal.h>

Inheritance diagram for pp::Slot0< T >:
Inheritance graph
Collaboration diagram for pp::Slot0< T >:
Collaboration graph

List of all members.

Public Types

typedef void(T::* SlotPtr_t )()

Public Member Functions

 Slot0 (T *rcv, SlotPtr_t sl)
 ~Slot0 ()
void Call (BaseArgument *arg)

Private Attributes

T * mRcv
SlotPtr_t mSlot

Detailed Description

template<class T>
class pp::Slot0< T >

Definition at line 91 of file signal.h.

Member Typedef Documentation

template<class T>
typedef void(T::* pp::Slot0< T >::SlotPtr_t)()

Definition at line 93 of file signal.h.

Constructor & Destructor Documentation

template<class T>
pp::Slot0< T >::Slot0 ( T *  rcv,
SlotPtr_t  sl 
) [inline]

Definition at line 94 of file signal.h.

              mRcv = rcv;
              mSlot = sl;
template<class T>
pp::Slot0< T >::~Slot0 ( ) [inline]

Definition at line 99 of file signal.h.

{ }

Member Function Documentation

template<class T>
void pp::Slot0< T >::Call ( BaseArgument arg) [inline, virtual]

Implements pp::BaseSlot.

Definition at line 101 of file signal.h.

              //Argumente brauchen ned ausgewertet werden => 0
              return (*mRcv.*mSlot)();

Member Data Documentation

template<class T>
T* pp::Slot0< T >::mRcv [private]

Definition at line 108 of file signal.h.

template<class T>
SlotPtr_t pp::Slot0< T >::mSlot [private]

Definition at line 109 of file signal.h.

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