Back to index

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

#include <signal.h>

Inheritance diagram for pp::Signal2< R1, R2 >:
Inheritance graph
[legend]
Collaboration diagram for pp::Signal2< R1, R2 >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Signal2 ()
 ~Signal2 ()
void Emit (R1 r1, R2 r2)
void Connect (BaseSlot *slot)

Protected Attributes

BaseSlotmSlot

Detailed Description

template<class R1, class R2>
class pp::Signal2< R1, R2 >

Definition at line 227 of file signal.h.


Constructor & Destructor Documentation

template<class R1, class R2>
pp::Signal2< R1, R2 >::Signal2 ( ) [inline]

Definition at line 229 of file signal.h.

{ }
template<class R1, class R2>
pp::Signal2< R1, R2 >::~Signal2 ( ) [inline]

Definition at line 230 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, class R2>
void pp::Signal2< R1, R2 >::Emit ( R1  r1,
R2  r2 
) [inline]

Definition at line 232 of file signal.h.

       {

              if (mSlot) {
                     Argument2<R1,R2> arg(r1,r2);
                     mSlot->Call(&arg);
              }
       }

Here is the caller 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: