HiveMind
src
interloc
include
interloc
IInterlocMessageHandler.h
Go to the documentation of this file.
1
#ifndef __IINTERLOCMESSAGEHANDLER_H__
2
#define __IINTERLOCMESSAGEHANDLER_H__
3
4
#include <
bsp/InterlocUpdate.h
>
5
6
class
IInterlocMessageHandler
{
7
public
:
12
virtual
bool
processMessage
() = 0;
13
18
virtual
bool
getDumpEnabled
()
const
= 0;
19
26
virtual
bool
sendInterlocDump
(
InterlocUpdate
* updatesHistory, uint8_t updatesLength) = 0;
27
};
28
29
#endif //__IINTERLOCMESSAGEHANDLER_H__
IInterlocMessageHandler
Definition:
IInterlocMessageHandler.h:6
IInterlocMessageHandler::sendInterlocDump
virtual bool sendInterlocDump(InterlocUpdate *updatesHistory, uint8_t updatesLength)=0
Sends a history of interloc updates back to the host.
InterlocUpdate
Definition:
InterlocUpdate.h:7
IInterlocMessageHandler::getDumpEnabled
virtual bool getDumpEnabled() const =0
Retrieves a flag to know if data dumps to the host should be done or not.
IInterlocMessageHandler::processMessage
virtual bool processMessage()=0
Processes the next message in the queue.
InterlocUpdate.h
Generated by
1.8.17