![]() |
Eclipse SUMO - Simulation of Urban MObility
|
A vehicle as used by router. More...
#include <NBVehicle.h>
Public Member Functions | |
| const std::string & | getID () const |
| double | getLength () const |
| SUMOVehicleClass | getVClass () const |
| bool | ignoreTransientPermissions () const |
| Returns whether this object is ignoring transient permission changes (during routing). | |
| NBVehicle (const std::string &id, SUMOVehicleClass vClass) | |
| Constructor. | |
| virtual | ~NBVehicle () |
| Destructor. | |
Private Member Functions | |
| NBVehicle (const NBVehicle &src) | |
| Invalidated copy constructor. | |
| NBVehicle & | operator= (const NBVehicle &src) |
| Invalidated assignment operator. | |
Private Attributes | |
| std::string | myID |
| vehicle ID for error reporting | |
| double | myLength |
| The length of the vehicle (for rail-routing). | |
| SUMOVehicleClass | myVClass |
| The vehicle class of the vehicle. | |
A vehicle as used by router.
Definition at line 42 of file NBVehicle.h.
|
inline |
Constructor.
| [in] | pars | Parameter of this vehicle |
| [in] | route | The definition of the route the vehicle shall use |
| [in] | type | The type of the vehicle |
Definition at line 50 of file NBVehicle.h.
References getDefaultVehicleLength(), myID, myLength, and myVClass.
Referenced by NBVehicle(), and operator=().
|
inlinevirtual |
Destructor.
Definition at line 73 of file NBVehicle.h.
|
private |
Invalidated copy constructor.
References NBVehicle().
|
inline |
Definition at line 53 of file NBVehicle.h.
References myID.
|
inline |
Definition at line 68 of file NBVehicle.h.
References myLength.
|
inline |
Definition at line 57 of file NBVehicle.h.
References myVClass.
|
inline |
Returns whether this object is ignoring transient permission changes (during routing).
Definition at line 64 of file NBVehicle.h.
Invalidated assignment operator.
References NBVehicle().
|
private |
vehicle ID for error reporting
Definition at line 78 of file NBVehicle.h.
Referenced by getID(), and NBVehicle().
|
private |
The length of the vehicle (for rail-routing).
Definition at line 84 of file NBVehicle.h.
Referenced by getLength(), and NBVehicle().
|
private |
The vehicle class of the vehicle.
Definition at line 81 of file NBVehicle.h.
Referenced by getVClass(), and NBVehicle().