Signals and Slots - Alternative Implementations

Alternative Implementations

There are some implementations of signal/slot systems based on C++ templates, which don't require the extra Meta Object Compiler, as used by Qt, such as libsigc++, sigslot, nano-signal-slot, neosigslot, Signals, boost.signals, Cpp::Events, Platinum and JBroadcaster. CLI languages such as C# also supports a similar construct although with a different terminology and syntax: events play the role of signals, and delegates are the slots. Another implementation of signals exists for ActionScript 3.0, inspired by C# events and signals/slots in Qt. Additionally, a delegate can be a local variable, much like a function pointer, while a slot in Qt must be a class member declared as such. Due to the language limitation, there isn't a common implementation for ANSI C, but an environment dependent method was given out, see c-sigslot, it has been tested on several platforms, notably the ARM C Compiler, but should support any standard ANSI C compiler. The C based GObject system also provides similar functionality via GSignal.

Read more about this topic:  Signals And Slots

Other articles related to "implementations, alternative, alternative implementations, implementation":

File Allocation Table - Technical Design - Directory Table - Directory Entry
... by default, most of them can coexist in third-party FAT implementations (at least on FAT12 and FAT16 volumes) ... attribute is not set at the same time, and otherwise treat the System attribute as alternative Read-only attribute for FAT+ large files 1 0x02 Hidden ... System attribute is not set at the same time, and otherwise treat the System attribute as alternative Hidden attribute for FAT+ large files 2 0x04 System ...
Flood Fill - The Algorithm - Alternative Implementations
... An explicitly queue-based implementation is shown in pseudo-code below ... Most practical implementations use a loop for the west and east directions as an optimization to avoid the overhead of stack or queue management Flood-fill (node, target-color ...

Famous quotes containing the word alternative:

    If English is spoken in heaven ... God undoubtedly employs Cranmer as his speechwriter. The angels of the lesser ministries probably use the language of the New English Bible and the Alternative Service Book for internal memos.
    Charles, Prince Of Wales (b. 1948)