 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
16 #ifndef GUIMEVehicleControl_h
17 #define GUIMEVehicleControl_h
66 const bool ignoreStopErrors,
const bool fromRouteFile =
true);
The car-following model and parameter.
GUIMEVehicleControl()
Constructor.
void insertVehicleIDs(std::vector< GUIGlID > &into)
Returns the list of all known vehicles by gl-id.
Representation of a vehicle.
Structure representing possible vehicle parameter.
The class responsible for building and deletion of vehicles (gui-version)
void releaseVehicles()
unlock access to vehicle removal/additions for thread synchronization
~GUIMEVehicleControl()
Destructor.
The class responsible for building and deletion of vehicles (gui-version)
bool addVehicle(const std::string &id, SUMOVehicle *v)
Tries to insert the vehicle into the internal vehicle container.
void deleteVehicle(SUMOVehicle *v, bool discard=false)
Deletes the vehicle.
GUIMEVehicleControl(const GUIMEVehicleControl &s)
invalidated copy constructor
SUMOVehicle * buildVehicle(SUMOVehicleParameter *defs, const MSRoute *route, MSVehicleType *type, const bool ignoreStopErrors, const bool fromRouteFile=true)
Builds a vehicle, increases the number of built vehicles.
void secureVehicles()
lock access to vehicle removal/additions for thread synchronization
GUIMEVehicleControl & operator=(const GUIMEVehicleControl &s)
invalidated assignment operator
FXMutex myLock
The mutex used to avoid concurrent updates of the vehicle buffer.