Eclipse SUMO - Simulation of Urban MObility
MSDynamicShapeUpdater.h
Go to the documentation of this file.
1 /****************************************************************************/
2 // Eclipse SUMO, Simulation of Urban MObility; see https://eclipse.org/sumo
3 // Copyright (C) 2019-2019 German Aerospace Center (DLR) and others.
4 // This program and the accompanying materials
5 // are made available under the terms of the Eclipse Public License v2.0
6 // which accompanies this distribution, and is available at
7 // http://www.eclipse.org/legal/epl-v20.html
8 // SPDX-License-Identifier: EPL-2.0
9 /****************************************************************************/
15 //
16 /****************************************************************************/
17 #ifndef MICROSIM_MSDYNAMICSHAPEUPDATER_H_
18 #define MICROSIM_MSDYNAMICSHAPEUPDATER_H_
19 
20 #include "MSNet.h"
22 
27 public:
29  MSDynamicShapeUpdater(ShapeContainer& shapeContainer) : myShapeContainer(shapeContainer) {};
30 
32  void vehicleStateChanged(const SUMOVehicle* const vehicle, MSNet::VehicleState to, const std::string& info = "") override;
33 
34 private:
36 
37 private:
40 };
41 
42 #endif /* MICROSIM_MSDYNAMICSHAPEUPDATER_H_ */
Interface for objects listening to vehicle state changes.
Definition: MSNet.h:567
Storage for geometrical objects.
MSDynamicShapeUpdater(ShapeContainer &shapeContainer)
Constructor.
ShapeContainer & myShapeContainer
void vehicleStateChanged(const SUMOVehicle *const vehicle, MSNet::VehicleState to, const std::string &info="") override
Constructor.
Representation of a vehicle.
Definition: SUMOVehicle.h:61
MSDynamicShapeUpdater & operator=(const MSDynamicShapeUpdater &s)=delete
invalidated assignment operator
VehicleState
Definition of a vehicle state.
Definition: MSNet.h:536