45 #define DEFAULT_VIEW "View #0" 53 #define SUMOTime_MAX std::numeric_limits<SUMOTime>::max() 62 : std::runtime_error(what) {}
79 unsigned char r, g, b, a;
108 : duration(_duration), duration1(_duration1), duration2(_duration2), phase(_phase) {}
118 TraCILogic(
const std::string& _subID,
int _type,
const std::map<std::string, double>& _subParameter,
int _currentPhaseIndex,
const std::vector<TraCIPhase>& _phases)
119 : subID(_subID), type(_type), subParameter(_subParameter), currentPhaseIndex(_currentPhaseIndex), phases(_phases) {}
132 TraCILink(
const std::string& _from,
const std::string& _via,
const std::string& _to)
133 : from(_from), via(_via), to(_to) {}
144 TraCIConnection(
const std::string& _approachedLane,
const bool _hasPrio,
const bool _isOpen,
const bool _hasFoe,
145 const std::string _approachedInternal,
const std::string _state,
const std::string _direction,
const double _length)
146 : approachedLane(_approachedLane), hasPrio(_hasPrio), isOpen(_isOpen), hasFoe(_hasFoe),
147 approachedInternal(_approachedInternal), state(_state), direction(_direction), length(_length) {}
double length
Length of the vehicle.
double leaveTime
Leave-time of the vehicle in [s].
std::map< std::string, double > subParameter
std::string id
The id of the vehicle.
TraCIPhase(const SUMOTime _duration, const SUMOTime _duration1, const SUMOTime _duration2, const std::string &_phase)
std::string approachedLane
std::vector< TraCIPhase > phases
TraCIException(std::string what)
std::vector< std::string > stringList
TraCILogic(const std::string &_subID, int _type, const std::map< std::string, double > &_subParameter, int _currentPhaseIndex, const std::vector< TraCIPhase > &_phases)
std::string typeID
Type of the vehicle in.
std::vector< TraCIPosition > TraCIPositionVector
std::string approachedInternal
double entryTime
Entry-time of the vehicle in [s].
TraCIConnection(const std::string &_approachedLane, const bool _hasPrio, const bool _isOpen, const bool _hasFoe, const std::string _approachedInternal, const std::string _state, const std::string _direction, const double _length)
TraCILink(const std::string &_from, const std::string &_via, const std::string &_to)