ADD: added new server for external comms but it is just in a experimental phase

This commit is contained in:
Henry Winkel
2023-08-09 17:07:31 +02:00
parent 14cc61d8c7
commit 9c8ffad475
5 changed files with 46 additions and 20 deletions

View File

@@ -58,7 +58,8 @@ namespace Entities {
SimCore::Identifier ParentID,
SimCore::EntityKind EntityKind,
std::uint32_t GroundTruthPort,
ushort CommandPort);
ushort CommandPort,
bool online);
~Entity();
void start();
@@ -91,6 +92,7 @@ namespace Entities {
private:
bool online_;
std::vector<std::thread> threads;
@@ -104,8 +106,9 @@ namespace Entities {
void handleMovement();
std::shared_ptr<DirectCommunication::DirectCommunicationServer> ExternalCommsServer_ = nullptr;
void handleExternalComms(std::string msg);