ST_engine
0.3-ALPHA
|
This class handles a small queue for messages. More...
#include <subscriber.hpp>
Public Member Functions | |
message * | get_next_message () |
void | push_message (message *arg) |
This class handles a small queue for messages.
A simple wrapper around moodycamel::ConcurrentQueue<message*>.
Definition at line 20 of file subscriber.hpp.
|
inline |
Get the next message in the subscription queue.
Definition at line 39 of file subscriber.hpp.
|
inline |
Pushes a new message to the message_bus.
arg | The message object to push. |
Definition at line 49 of file subscriber.hpp.