Specialised signal that emits without passing data. More...
|void||connect (const std::string &topic)|
|Make a connection to the specified topic. More...|
|void||connectAsSlot (const std::string &topic)|
|Connect as a slot, with the emit function loaded. More...|
|Disconnect the signal from all topics. More...|
|The primary purpose of the signal, to emit! More...|
|Default constructor. More...|
|Signal (const Signal &signal)|
|Copy constructor. More...|
|Signal (const std::string &topic)|
|Creates a signal and connects. More...|
|Default destructor. More...|
|SigSlot< Void > *||sigslot|
Specialised signal that emits without passing data.
Specialised signal that only emits a signal but passes no data to their respective slots. This is the default template construction for a signal, so you need only use Signal<> to represent the type.
Usage examples are provided in the main page's documentation for this package.
This is specially designed so that copying a signal is perfectly acceptable. Copies do not increase the number of emits that are fired - they just preserve the signal when used with things like stl containers. When the last copy disappears, the object destroys its connection automagically.
|signal||: the object to be copied.|