CHG: changed scope of some variables
This commit is contained in:
@@ -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;
|
||||||
|
|
||||||
|
|||||||
@@ -111,6 +111,7 @@ namespace Entities
|
|||||||
Movement_->updatePositionSimple(duration);
|
Movement_->updatePositionSimple(duration);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
// LOG_S(INFO)<<"Entity class working";
|
||||||
|
|
||||||
|
|
||||||
specificPhysicsCalculations(duration);
|
specificPhysicsCalculations(duration);
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user