A slot with global/static callback function. More...
#include <slot.hpp>
Public Member Functions | |
void | execute (Data data) |
GlobalSlot () | |
GlobalSlot (void(*func)(Data)) | |
Public Attributes | |
void(* | global_function )(Data) |
Slotted function. |
A slot with global/static callback function.
Data | : the argument type. |
ecl::lite::sigslots::GlobalSlot< Data >::GlobalSlot | ( | ) | [inline] |
ecl::lite::sigslots::GlobalSlot< Data >::GlobalSlot | ( | void(*)(Data) | func | ) | [inline] |
void ecl::lite::sigslots::GlobalSlot< Data >::execute | ( | Data | data | ) | [inline, virtual] |
Implements ecl::lite::sigslots::SlotBase< Data >.
void(* ecl::lite::sigslots::GlobalSlot< Data >::global_function)(Data) |