26 lines
453 B
C++
26 lines
453 B
C++
//
|
|
// Created by scoliono on 10/14/23.
|
|
//
|
|
|
|
#ifndef FEMMAPS_SIGALERTROADSECTION_H
|
|
#define FEMMAPS_SIGALERTROADSECTION_H
|
|
|
|
#include "RoadDirection.h"
|
|
|
|
class SigalertRoadSection {
|
|
|
|
public:
|
|
SigalertRoadSection();
|
|
int speedLimit(int sensorIdx);
|
|
RoadDirection direction();
|
|
const SigalertRoadSection& road();
|
|
|
|
private:
|
|
SigalertRoad* m_road;
|
|
RoadDirection m_dir;
|
|
int m_sensor_idx_range[2];
|
|
};
|
|
|
|
|
|
#endif //FEMMAPS_SIGALERTROADSECTION_H
|