Class Queue#
Defined in File common.h
Class Documentation#
-
class Queue#
provides a thread-safe messaging queue
Public Functions
-
inline Queue(void)#
-
inline ~Queue(void)#
-
inline void service_running(bool state)#
-
inline bool service_running()#
set service running
-
void enqueue_and_log(std::string function, std::string message)#
is the service running?
-
void enqueue_and_log(std::string tag, std::string function, std::string message)#
-
void enqueue(std::string message)#
push an element into the queue.
-
std::string dequeue(void)#
pop an element from the queue
-
inline Queue(void)#