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