Go to the documentation of this file. 1 #ifndef HIVEMINDBRIDGE_IHIVEMINDHOSTAPIRESPONSEHANDLER_H
2 #define HIVEMINDBRIDGE_IHIVEMINDHOSTAPIRESPONSEHANDLER_H
4 #include "pheromones/HiveMindHostApiResponseDTO.h"
5 #include "pheromones/MessageDTO.h"
20 const HiveMindHostApiResponseDTO& hmResponse) = 0;
23 uint64_t bytesLength)> callback) = 0;
26 std::function<
void(uint16_t neighborId, std::optional<Position> position)> callback) = 0;
29 #endif // HIVEMINDBRIDGE_IHIVEMINDHOSTAPIRESPONSEHANDLER_H
bool inLOS
Definition: IHiveMindHostApiResponseHandler.h:10
virtual bool onNeighborUpdated(std::function< void(uint16_t neighborId, std::optional< Position > position)> callback)=0
Definition: IHiveMindHostApiResponseHandler.h:15
static constexpr uint16_t NEIGHBORS_MAX_SIZE
Definition: IHiveMindHostApiResponseHandler.h:17
float azimuth
Definition: IHiveMindHostApiResponseHandler.h:9
float distance
Definition: IHiveMindHostApiResponseHandler.h:8
virtual bool onNeighborListUpdated(std::function< void(std::array< uint16_t, NEIGHBORS_MAX_SIZE >, uint64_t bytesLength)> callback)=0
Definition: IHiveMindHostApiResponseHandler.h:7
virtual void handleMessage(const MessageDTO &message, const HiveMindHostApiResponseDTO &hmResponse)=0