|
@@ -75,6 +75,8 @@ private:
|
|
vector<LaneSection> mLaneSectionsVector;
|
|
vector<LaneSection> mLaneSectionsVector;
|
|
// Lane offset vector
|
|
// Lane offset vector
|
|
vector<LaneOffset> mLaneOffsetVector;
|
|
vector<LaneOffset> mLaneOffsetVector;
|
|
|
|
+ //bridge vector
|
|
|
|
+ vector<Objects_bridge> mObjectsBridgeVector;
|
|
// Objects vectors
|
|
// Objects vectors
|
|
vector<Object> mObjectsVector;
|
|
vector<Object> mObjectsVector;
|
|
// Signal vector
|
|
// Signal vector
|
|
@@ -96,6 +98,7 @@ private:
|
|
unsigned int mLastAddedCrossfall;
|
|
unsigned int mLastAddedCrossfall;
|
|
unsigned int mLastAddedLaneSection;
|
|
unsigned int mLastAddedLaneSection;
|
|
unsigned int mLastAddedLaneOffset;
|
|
unsigned int mLastAddedLaneOffset;
|
|
|
|
+ unsigned int mLastAddedObjectsBridge;
|
|
unsigned int mLastAddedObject;
|
|
unsigned int mLastAddedObject;
|
|
unsigned int mLastAddedSignal;
|
|
unsigned int mLastAddedSignal;
|
|
unsigned int mLastAddedRoadBorrow;
|
|
unsigned int mLastAddedRoadBorrow;
|
|
@@ -180,6 +183,10 @@ public:
|
|
vector<Object> *GetObjectVector();
|
|
vector<Object> *GetObjectVector();
|
|
Object* GetObject(unsigned int i);
|
|
Object* GetObject(unsigned int i);
|
|
unsigned int GetObjectCount();
|
|
unsigned int GetObjectCount();
|
|
|
|
+ // Road bridge records
|
|
|
|
+ vector<Objects_bridge> *GetObjectsBridgeVector();
|
|
|
|
+ Objects_bridge* GetObjectsBridge(unsigned int i);
|
|
|
|
+ unsigned int GetObjectsBridgeCount();
|
|
// Road signal records
|
|
// Road signal records
|
|
vector<Signal> *GetSignalVector();
|
|
vector<Signal> *GetSignalVector();
|
|
Signal* GetSignal(unsigned int i);
|
|
Signal* GetSignal(unsigned int i);
|
|
@@ -206,6 +213,7 @@ public:
|
|
SuperElevation* GetLastSuperElevation();
|
|
SuperElevation* GetLastSuperElevation();
|
|
Crossfall* GetLastCrossfall();
|
|
Crossfall* GetLastCrossfall();
|
|
LaneSection* GetLastLaneSection();
|
|
LaneSection* GetLastLaneSection();
|
|
|
|
+ Objects_bridge* GetLastObjectsBridge();
|
|
Object* GetLastObject();
|
|
Object* GetLastObject();
|
|
Signal* GetLastSignal();
|
|
Signal* GetLastSignal();
|
|
RoadBorrow * GetLastRoadBorrow();
|
|
RoadBorrow * GetLastRoadBorrow();
|
|
@@ -220,6 +228,7 @@ public:
|
|
SuperElevation* GetLastAddedSuperElevation();
|
|
SuperElevation* GetLastAddedSuperElevation();
|
|
Crossfall* GetLastAddedCrossfall();
|
|
Crossfall* GetLastAddedCrossfall();
|
|
LaneSection* GetLastAddedLaneSection();
|
|
LaneSection* GetLastAddedLaneSection();
|
|
|
|
+ Objects_bridge* GetLastAddedObjectsBridge();
|
|
Object* GetLastAddedObject();
|
|
Object* GetLastAddedObject();
|
|
Signal* GetLastAddedSignal();
|
|
Signal* GetLastAddedSignal();
|
|
RoadBorrow* GetLastAddedRoadBorrow();
|
|
RoadBorrow* GetLastAddedRoadBorrow();
|
|
@@ -265,6 +274,7 @@ public:
|
|
unsigned int AddCrossfall (string side, double s, double a, double b, double c, double d);
|
|
unsigned int AddCrossfall (string side, double s, double a, double b, double c, double d);
|
|
unsigned int AddLaneSection(double s);
|
|
unsigned int AddLaneSection(double s);
|
|
unsigned int AddLaneOffset(double s,double a,double b,double c,double d);
|
|
unsigned int AddLaneOffset(double s,double a,double b,double c,double d);
|
|
|
|
+ unsigned int AddObjectsBridge(double s,double length,string id,string type);
|
|
unsigned int AddObject(string id,double s,double t,double zOffset);
|
|
unsigned int AddObject(string id,double s,double t,double zOffset);
|
|
unsigned int AddSignal(double s,double t,string id,string name,bool dynamic,string orientation,double zOffset,string type,string country,string countryRevision,
|
|
unsigned int AddSignal(double s,double t,string id,string name,bool dynamic,string orientation,double zOffset,string type,string country,string countryRevision,
|
|
string subtype,double hOffset,double pitch,double roll ,double height,double width);
|
|
string subtype,double hOffset,double pitch,double roll ,double height,double width);
|
|
@@ -280,6 +290,7 @@ public:
|
|
unsigned int CloneCrossfall(unsigned int index);
|
|
unsigned int CloneCrossfall(unsigned int index);
|
|
unsigned int CloneLaneSection(unsigned int index);
|
|
unsigned int CloneLaneSection(unsigned int index);
|
|
unsigned int CloneLaneSectionEnd(unsigned int index);
|
|
unsigned int CloneLaneSectionEnd(unsigned int index);
|
|
|
|
+ unsigned int CloneObjectsBridge(unsigned int index);
|
|
unsigned int CloneObject(unsigned int index);
|
|
unsigned int CloneObject(unsigned int index);
|
|
unsigned int CloneSignal(unsigned int index);
|
|
unsigned int CloneSignal(unsigned int index);
|
|
unsigned int CloneRoadBorrow(unsigned int index);
|
|
unsigned int CloneRoadBorrow(unsigned int index);
|
|
@@ -295,6 +306,7 @@ public:
|
|
void DeleteCrossfall(unsigned int index);
|
|
void DeleteCrossfall(unsigned int index);
|
|
void DeleteLaneSection(unsigned int index);
|
|
void DeleteLaneSection(unsigned int index);
|
|
void DeleteLaneOffset(unsigned int index);
|
|
void DeleteLaneOffset(unsigned int index);
|
|
|
|
+ void DeleteObjectsBridge(unsigned int index);
|
|
void DeleteObject(unsigned int index);
|
|
void DeleteObject(unsigned int index);
|
|
void DeleteSignal(unsigned int index);
|
|
void DeleteSignal(unsigned int index);
|
|
void DeleteRoadBorrow(unsigned int index);
|
|
void DeleteRoadBorrow(unsigned int index);
|
|
@@ -350,6 +362,8 @@ public:
|
|
int CheckRoadBorrowInterval(double s_check);
|
|
int CheckRoadBorrowInterval(double s_check);
|
|
|
|
|
|
int CheckRoadNoavoidInterval(double s_check);
|
|
int CheckRoadNoavoidInterval(double s_check);
|
|
|
|
+
|
|
|
|
+ int CheckRoadObjectsBridgeInterval(double s_check);
|
|
|
|
|
|
//-------------------------------------------------
|
|
//-------------------------------------------------
|
|
|
|
|