CHG: changed scope of some variables

This commit is contained in:
hwinkel
2023-06-07 22:45:24 +02:00
parent 10f92fb966
commit f02dd84f4e
3 changed files with 8 additions and 8 deletions

View File

@@ -70,11 +70,9 @@ namespace Entities {
std::unique_ptr<Entities::Movement> Movement_ = nullptr; std::unique_ptr<Entities::Movement> Movement_ = nullptr;
private: protected:
std::string EntityName_; std::string EntityName_;
SimCore::GroundTruthTrack ownTrack_; SimCore::GroundTruthTrack ownTrack_;
SimCore::Identifier ParentID_; SimCore::Identifier ParentID_;
SimCore::EntityKind EntityKind_; SimCore::EntityKind EntityKind_;
@@ -82,6 +80,11 @@ namespace Entities {
std::uint32_t CommandPort_; std::uint32_t CommandPort_;
std::string CommandIPAddress_; std::string CommandIPAddress_;
private:
std::vector<std::thread> threads; std::vector<std::thread> threads;

View File

@@ -111,6 +111,7 @@ namespace Entities
Movement_->updatePositionSimple(duration); Movement_->updatePositionSimple(duration);
} }
// LOG_S(INFO)<<"Entity class working";
specificPhysicsCalculations(duration); specificPhysicsCalculations(duration);

View File

@@ -1,9 +1,5 @@
#include <Entities/Tracklist/Tracklist.hpp> #include <Entities/Tracklist/Tracklist.hpp>
// #include <Entities/Tracklist/TracklistItem.hpp>
// #include <SimCore/SimCore.hpp>
// #include <list>
// #include <memory>
// #include <thread>
#define TRACK_TIMEOUT 5 * 60 *1000 #define TRACK_TIMEOUT 5 * 60 *1000