14 lines
340 B
C++
14 lines
340 B
C++
#include "IsolatedParticipant.h"
|
|
#include "ParticipantUDP.h"
|
|
|
|
namespace RoboidControl {
|
|
|
|
static ParticipantUDP* isolatedParticipant = nullptr;
|
|
|
|
Participant* IsolatedParticipant::Isolated() {
|
|
if (isolatedParticipant == nullptr)
|
|
isolatedParticipant = new ParticipantUDP(0);
|
|
return isolatedParticipant;
|
|
}
|
|
|
|
} // namespace RoboidControl
|