19 lines
440 B
C++
19 lines
440 B
C++
#pragma once
|
|
|
|
#include "../Participant.h"
|
|
|
|
namespace Passer {
|
|
namespace RoboidControl {
|
|
namespace Posix {
|
|
|
|
class Participant : public RoboidControl::Participant {
|
|
public:
|
|
void Setup(int localPort, const char* remoteIpAddress, int remotePort);
|
|
void Receive();
|
|
bool Send(RemoteParticipant* remoteParticipant, int bufferSize);
|
|
bool Publish(IMessage* msg);
|
|
};
|
|
|
|
} // namespace Posix
|
|
} // namespace RoboidControl
|
|
} // namespace Passer
|