Back to index

extremetuxracer  0.5beta
Public Member Functions | Protected Attributes
pp::Signal1< R1 > Class Template Reference

#include <signal.h>

Inheritance diagram for pp::Signal1< R1 >:
Inheritance graph
[legend]
Collaboration diagram for pp::Signal1< R1 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Signal1 ()
 ~Signal1 ()
void Emit (R1 r1)
void Connect (BaseSlot *slot)

Protected Attributes

BaseSlotmSlot

Detailed Description

template<class R1>
class pp::Signal1< R1 >

Definition at line 212 of file signal.h.


Constructor & Destructor Documentation

template<class R1 >
pp::Signal1< R1 >::Signal1 ( ) [inline]

Definition at line 214 of file signal.h.

{ }
template<class R1 >
pp::Signal1< R1 >::~Signal1 ( ) [inline]

Definition at line 215 of file signal.h.

{ }

Member Function Documentation

void pp::BaseSignal::Connect ( BaseSlot slot) [inline, inherited]

Definition at line 176 of file signal.h.

       {
              Clean();
              mSlot = slot;
       }

Here is the call graph for this function:

Here is the caller graph for this function:

template<class R1 >
void pp::Signal1< R1 >::Emit ( R1  r1) [inline]

Definition at line 217 of file signal.h.

       {
              if (mSlot) {
                     Argument1<R1> arg(r1);
                     mSlot->Call(&arg);
              }
       }

Here is the call graph for this function:


Member Data Documentation

BaseSlot* pp::BaseSignal::mSlot [protected, inherited]

Definition at line 194 of file signal.h.


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