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_ */
MSNet.h
MSNet::VehicleStateListener
Interface for objects listening to vehicle state changes.
Definition: MSNet.h:567
SUMOVehicle
Representation of a vehicle.
Definition: SUMOVehicle.h:61
ShapeContainer
Storage for geometrical objects.
Definition: ShapeContainer.h:50
MSDynamicShapeUpdater
Definition: MSDynamicShapeUpdater.h:26
MSDynamicShapeUpdater::operator=
MSDynamicShapeUpdater & operator=(const MSDynamicShapeUpdater &s)=delete
invalidated assignment operator
MSNet::VehicleState
VehicleState
Definition of a vehicle state.
Definition: MSNet.h:536
MSDynamicShapeUpdater::MSDynamicShapeUpdater
MSDynamicShapeUpdater(ShapeContainer &shapeContainer)
Constructor.
Definition: MSDynamicShapeUpdater.h:29
MSDynamicShapeUpdater::myShapeContainer
ShapeContainer & myShapeContainer
Definition: MSDynamicShapeUpdater.h:35
MSDynamicShapeUpdater::vehicleStateChanged
void vehicleStateChanged(const SUMOVehicle *const vehicle, MSNet::VehicleState to, const std::string &info="") override
Constructor.
Definition: MSDynamicShapeUpdater.cpp:27
ShapeContainer.h