Antkeeper
0.0.1
|
Publish-subscribe messaging. More...
Classes | |
class | publisher |
Publishes messages to subscribers. More... | |
class | channel |
Channel through which messages are published. More... | |
class | dispatcher |
Forwards messages from publishers to subscribers. More... | |
class | queue |
Collects messages from publishers to be dispatched to subscribers when desired. More... | |
class | subscription |
Unsubscribes a subscriber on destruction. More... | |
Typedefs | |
template<class T > | |
using | subscriber = std::function< void(const T &)> |
Subscriber function object type. More... | |
typedef std::shared_ptr< subscription > | shared_subscription |
Shared pointer to a subscription. More... | |
Publish-subscribe messaging.
typedef std::shared_ptr<subscription> event::shared_subscription |
Shared pointer to a subscription.
Definition at line 68 of file subscription.hpp.
using event::subscriber = typedef std::function<void(const T&)> |
Subscriber function object type.
T | Message type. |
Definition at line 33 of file subscriber.hpp.