RoboidControl-cpp/Participants/IsolatedParticipant.cpp

16 lines
362 B
C++

/*
#include "IsolatedParticipant.h"
#include "ParticipantUDP.h"
namespace RoboidControl {
static ParticipantUDPGeneric* isolatedParticipant = nullptr;
Participant* IsolatedParticipant::Isolated() {
if (isolatedParticipant == nullptr)
isolatedParticipant = new ParticipantUDPGeneric(0);
return isolatedParticipant;
}
} // namespace RoboidControl
*/