phobosx.signal

Signals and Slots are an implementation of the Observer pattern
Essentially, when a Signal is emitted, a list of connected Observers (called slots) are called.

They were first introduced in the Qt GUI toolkit, alternate implementations are libsig++ or Boost.Signals2 similar concepts are implemented in other languages than C++ too.

Members

Enums

Protection
enum Protection

Protection to use for the signal string mixin.

Functions

signal
string signal(string name, Protection protection = Protection.private_)

string mixin for creating a signal.

Structs

RestrictedSignal
struct RestrictedSignal(Args...)

The signal implementation, not providing an emit method.

Signal
struct Signal(Args...)

Full signal implementation.

Meta

Authors

Robert Klotzner

License

<a href="http://www.boost.org/LICENSE_1_0.txt">Boost License 1.0</a>.