53 const std::string&
getID()
const {
double getDefaultVehicleLength(const SUMOVehicleClass vc)
Returns the default vehicle length This put into a function so it can be used by NBVehicle.
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types.
A vehicle as used by router.
virtual ~NBVehicle()
Destructor.
NBVehicle(const NBVehicle &src)
Invalidated copy constructor.
double myLength
The length of the vehicle (for rail-routing)
std::string myID
vehicle ID for error reporting
bool ignoreTransientPermissions() const
Returns whether this object is ignoring transient permission changes (during routing)
SUMOVehicleClass myVClass
The vehicle class of the vehicle.
NBVehicle(const std::string &id, SUMOVehicleClass vClass)
Constructor.
SUMOVehicleClass getVClass() const
NBVehicle & operator=(const NBVehicle &src)
Invalidated assignment operator.
const std::string & getID() const