SignalBase Class Reference

#include <tSignal.h>

Inheritance diagram for SignalBase:

Inheritance graph
[legend]
List of all members.

Detailed Description

Signals (Multi-cast Delegates).

Signals are used throughout this engine to allow subscribers to listen for generated events for various things.

Signals are called according to their order parameter (lower numbers first).

Signal functions can return bool or void. If bool then returning false from a signal function will cause entries in the ordered signal list after that one to not be called.

This allows handlers of a given event to say to the signal generator, "I handled this message, and it is no longer appropriate for other listeners to handle it"


Public Member Functions

 SignalBase ()
 ~SignalBase ()
bool isEmpty ()

Protected Attributes

DelegateLink mList

Classes

struct  DelegateLink


Constructor & Destructor Documentation

SignalBase::SignalBase (  )  [inline]

SignalBase::~SignalBase (  ) 


Member Function Documentation

bool SignalBase::isEmpty (  )  [inline]


Member Data Documentation