HiveMindBridge
Public Member Functions | Static Public Attributes | List of all members
IHiveMindHostApiResponseHandler Class Referenceabstract

#include <IHiveMindHostApiResponseHandler.h>

Inheritance diagram for IHiveMindHostApiResponseHandler:
Inheritance graph
Collaboration diagram for IHiveMindHostApiResponseHandler:
Collaboration graph

Public Member Functions

virtual void handleMessage (const MessageDTO &message, const HiveMindHostApiResponseDTO &hmResponse)=0
 
virtual bool onNeighborListUpdated (std::function< void(std::array< uint16_t, NEIGHBORS_MAX_SIZE >, uint64_t bytesLength)> callback)=0
 
virtual bool onNeighborUpdated (std::function< void(uint16_t neighborId, std::optional< Position > position)> callback)=0
 

Static Public Attributes

static constexpr uint16_t NEIGHBORS_MAX_SIZE = NEIGHBORS_LIST_SIZE
 

Member Function Documentation

◆ handleMessage()

virtual void IHiveMindHostApiResponseHandler::handleMessage ( const MessageDTO &  message,
const HiveMindHostApiResponseDTO &  hmResponse 
)
pure virtual

Implemented in HiveMindHostApiResponseHandler.

Here is the caller graph for this function:

◆ onNeighborListUpdated()

virtual bool IHiveMindHostApiResponseHandler::onNeighborListUpdated ( std::function< void(std::array< uint16_t, NEIGHBORS_MAX_SIZE >, uint64_t bytesLength)>  callback)
pure virtual

◆ onNeighborUpdated()

virtual bool IHiveMindHostApiResponseHandler::onNeighborUpdated ( std::function< void(uint16_t neighborId, std::optional< Position > position)>  callback)
pure virtual

Member Data Documentation

◆ NEIGHBORS_MAX_SIZE

constexpr uint16_t IHiveMindHostApiResponseHandler::NEIGHBORS_MAX_SIZE = NEIGHBORS_LIST_SIZE
staticconstexpr

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