HiveMind
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MessageSenderTask Class Reference
Inheritance diagram for MessageSenderTask:
Inheritance graph
Collaboration diagram for MessageSenderTask:
Collaboration graph

Public Member Functions

 MessageSenderTask (const char *taskName, UBaseType_t priority, ICommInterface *stream, INotificationQueue< MessageDTO > &streamQueue, bool keepRunning=false)
 
 ~MessageSenderTask () override=default
 
void setStream (ICommInterface *stream)
 
void setSerializer (IHiveMindHostSerializer *serializer)
 

Private Member Functions

void task () override
 

Private Attributes

ICommInterfacem_stream
 
INotificationQueue< MessageDTO > & m_streamQueue
 
ILoggerm_logger
 
IHiveMindHostSerializer * m_serializer = NULL
 
bool m_keepRunning
 

Constructor & Destructor Documentation

◆ MessageSenderTask()

MessageSenderTask::MessageSenderTask ( const char *  taskName,
UBaseType_t  priority,
ICommInterface stream,
INotificationQueue< MessageDTO > &  streamQueue,
bool  keepRunning = false 
)
inline

◆ ~MessageSenderTask()

MessageSenderTask::~MessageSenderTask ( )
overridedefault

Member Function Documentation

◆ setSerializer()

void MessageSenderTask::setSerializer ( IHiveMindHostSerializer *  serializer)
inline
Here is the caller graph for this function:

◆ setStream()

void MessageSenderTask::setStream ( ICommInterface stream)
inline
Here is the caller graph for this function:

◆ task()

void MessageSenderTask::task ( )
inlineoverrideprivate
Here is the call graph for this function:

Member Data Documentation

◆ m_keepRunning

bool MessageSenderTask::m_keepRunning
private

◆ m_logger

ILogger& MessageSenderTask::m_logger
private

◆ m_serializer

IHiveMindHostSerializer* MessageSenderTask::m_serializer = NULL
private

◆ m_stream

ICommInterface* MessageSenderTask::m_stream
private

◆ m_streamQueue

INotificationQueue<MessageDTO>& MessageSenderTask::m_streamQueue
private

The documentation for this class was generated from the following file: