23 #ifndef SUMOVehicleClass_h 24 #define SUMOVehicleClass_h void writePermissions(OutputDevice &into, SVCPermissions permissions)
writes allowed disallowed attributes if needed;
const SUMOReal DEFAULT_CONTAINER_TRANSHIP_SPEED
int getVehicleClassCompoundID(const std::string &name)
Returns the OR'ed id of the compound class given by its name.
void writePreferences(OutputDevice &into, SVCPermissions preferred)
writes allowed disallowed attributes if needed;
SUMOVehicleClass
Definition of vehicle classes to differ between different lane usage and authority types...
SUMOVehicleShape getVehicleShapeID(const std::string &name)
Returns the class id of the shape class given by its name.
vehicle is a not electrified rail
std::string getVehicleClassNames(SVCPermissions permissions)
Returns the ids of the given classes, divided using a ' '.
const int SUMOVehicleClass_MAX
render as a transport vehicle
render as a flexible city bus
vehicle is a small delivery vehicle
classes which (normally) do not drive on normal roads
const SUMOReal DEFAULT_PEDESTRIAN_SPEED
SUMOVehicleClass getVehicleClassID(const std::string &name)
Returns the class id of the abstract class given by its name.
const SUMOReal DEFAULT_VEH_PROB
std::string getVehicleShapeName(SUMOVehicleShape id)
Returns the class name of the shape class given by its id.
render as a delivery vehicle
render as a sedan passenger vehicle ("Stufenheck")
const std::string DEFAULT_VTYPE_ID
vehicle is a (possibly fast moving) electric rail
vehicle is a large transport vehicle
bool isWaterway(SVCPermissions permissions)
Returns whether an edge with the given permission is a waterway edge.
render as a hatchback passenger vehicle ("Fliessheck")
const SVCPermissions SVCAll
StringBijection< SUMOVehicleShape > SumoVehicleShapeStrings
bool isRailway(SVCPermissions permissions)
Returns whether an edge with the given permission is a railway edge.
bool canParseVehicleClasses(const std::string &classes)
Checks whether the given string contains only known vehicle classes.
render as a (city) rail without locomotive
render as a passenger vehicle
vehicle is a passenger car (a "normal" car)
SVCPermissions parseVehicleClasses(const std::string &allowedS)
Parses the given definition of allowed vehicle classes into the given containers Deprecated classes g...
const SVCPermissions SVC_UNSPECIFIED
bool isForbidden(SVCPermissions permissions)
Returns whether an edge with the given permission is a forbidden edge.
SUMOVehicleShape
Definition of vehicle classes to differ between different appearences.
render as a arbitrary ship
const std::string DEFAULT_PEDTYPE_ID
vehicle is a large transport vehicle
std::set< std::string > deprecatedVehicleClassesSeen
render as an emergency vehicle
render as a (futuristic) e-vehicle
std::vector< std::string > getVehicleClassNamesList(SVCPermissions permissions)
Returns the ids of the given classes, divided using a ' '.
Static storage of an output device and its base (abstract) implementation.
StringBijection< SUMOVehicleClass > SumoVehicleClassStrings
public emergency vehicles
render as a transport vehicle with one trailer
render as a wagon passenger vehicle ("Combi")
render as a semi-trailer transport vehicle ("Sattelschlepper")
vehicles ignoring classes