// // Created by scoliono on 10/14/23. // #ifndef FEMMAPS_SIGALERTROAD_H #define FEMMAPS_SIGALERTROAD_H #include "SigalertRoadSection.h" #include "SigalertRoadSensor.h" #include "../include/IntervalTree.h" class SigalertRoad { public: SigalertRoad(); const std::vector& sections(); const std::vector& sensors(); const IntervalTree& speedLimits(); int id(); private: void populateRoadSections(); void populateRoadSensors(); int m_id; std::string m_name; std::vector m_sections; std::vector m_sensors; IntervalTree m_sensor_speedlimits; }; #endif //FEMMAPS_SIGALERTROAD_H