RoboidControl-cpp/Participant.h
2024-12-16 12:47:47 +01:00

27 lines
635 B
C++

#pragma once
#include "Messages.h"
namespace Passer {
namespace Control {
class Participant {
public:
unsigned char buffer[1024];
virtual bool SendBuffer(unsigned char bufferSize);
virtual bool PublishBuffer(unsigned char bufferSize);
void ReceiveData(unsigned char bufferSize);
protected:
virtual void ProcessNetworkIdMsg(NetworkIdMsg msg);
virtual void ProcessInvestigateMsg(InvestigateMsg msg);
virtual void ProcessThingMsg(ThingMsg msg);
virtual void ProcessPoseMsg(PoseMsg msg);
virtual void ProcessCustomMsg(CustomMsg msg);
};
} // namespace Control
} // namespace Passer
using namespace Passer::Control;