Go to the documentation of this file. 1 #ifndef __MESSAGESENDER_H_
2 #define __MESSAGESENDER_H_
6 #include <cpp-common/ICircularQueue.h>
8 #include <pheromones/HiveMindHostSerializer.h>
13 IHiveMindHostSerializer& serializer,
28 #endif // __MESSAGESENDER_H_
IBSP & m_bsp
Definition: MessageSender.h:24
~MessageSender() override=default
IHiveMindHostSerializer & m_serializer
Definition: MessageSender.h:23
ICircularQueue< MessageDTO > & m_inputQueue
Definition: MessageSender.h:22
A logger class with basic logging capabilities.
Definition: ILogger.h:35
ILogger & m_logger
Definition: MessageSender.h:25
bool processAndSerialize() override
process an item in the queue, serializes it and sends it to the deserializer
Definition: MessageSender.cpp:9
MessageSender(ICircularQueue< MessageDTO > &inputQueue, IHiveMindHostSerializer &serializer, IBSP &bsp, ILogger &logger)
Definition: MessageSender.cpp:3
Definition: MessageSender.h:10
A class to pipe messages to a stream and serialize them.
Definition: IMessageSender.h:6