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 /****************************************************************************/
14 //
15 /****************************************************************************/
16 #ifndef MICROSIM_MSDYNAMICSHAPEUPDATER_H_
17 #define MICROSIM_MSDYNAMICSHAPEUPDATER_H_
18 
19 #include "MSNet.h"
21 
26 public:
28  MSDynamicShapeUpdater(ShapeContainer& shapeContainer) : myShapeContainer(shapeContainer) {};
29 
31  void vehicleStateChanged(const SUMOVehicle* const vehicle, MSNet::VehicleState to, const std::string& info = "") override;
32 
33 private:
35 
36 private:
39 };
40 
41 #endif /* MICROSIM_MSDYNAMICSHAPEUPDATER_H_ */
MSNet.h
MSNet::VehicleStateListener
Interface for objects listening to vehicle state changes.
Definition: MSNet.h:568
SUMOVehicle
Representation of a vehicle.
Definition: SUMOVehicle.h:60
ShapeContainer
Storage for geometrical objects.
Definition: ShapeContainer.h:49
MSDynamicShapeUpdater
Definition: MSDynamicShapeUpdater.h:25
MSDynamicShapeUpdater::operator=
MSDynamicShapeUpdater & operator=(const MSDynamicShapeUpdater &s)=delete
invalidated assignment operator
MSNet::VehicleState
VehicleState
Definition of a vehicle state.
Definition: MSNet.h:535
MSDynamicShapeUpdater::MSDynamicShapeUpdater
MSDynamicShapeUpdater(ShapeContainer &shapeContainer)
Constructor.
Definition: MSDynamicShapeUpdater.h:28
MSDynamicShapeUpdater::myShapeContainer
ShapeContainer & myShapeContainer
Definition: MSDynamicShapeUpdater.h:34
MSDynamicShapeUpdater::vehicleStateChanged
void vehicleStateChanged(const SUMOVehicle *const vehicle, MSNet::VehicleState to, const std::string &info="") override
Constructor.
Definition: MSDynamicShapeUpdater.cpp:26
ShapeContainer.h