150 const std::vector<StageStart>& stages,
const Trajectory& t);
155 std::map<std::string, std::tuple<SUMOTime, std::string, bool, ConstMSEdgeVector, std::vector<StageStart> > >
myRoutes;
std::vector< const MSEdge * > ConstMSEdgeVector
Base (microsim) event class.
const std::map< std::string, Trajectory > & getTrajectories()
std::map< const Position, std::string > myPositions
std::map< std::string, std::tuple< SUMOTime, std::string, bool, ConstMSEdgeVector, std::vector< StageStart > > > myRoutes
std::map< std::string, Trajectory > myTrajectories
void updateTrafficObjects(const SUMOTime intervalStart)
void initLaneTree(NamedRTree *tree) override
ConstMSEdgeVector checkRoute(const ConstMSEdgeVector &edges, const SUMOVehicle *const vehicle)
MSTransportable::MSTransportablePlan * makePlan(const SUMOVehicleParameter ¶ms, const ConstMSEdgeVector &route, const std::vector< StageStart > &stages, const Trajectory &t)
void myStartElement(int element, const SUMOSAXAttributes &attrs) override
Called on the opening of a tag.
MSEdge * retrieveEdge(const std::string &id) override
SUMOTime execute(SUMOTime currentTime) override
Executes the command.
MoveVehicles & operator=(const MoveVehicles &)=delete
Invalidated assignment operator.
A device which replays a vehicle trajectory from an fcd file.
MSDevice_FCDReplay(const MSDevice_FCDReplay &)=delete
Invalidated copy constructor.
~MSDevice_FCDReplay()
Destructor.
static void init()
Static intialization.
const std::string deviceName() const override
return the name for this type of device
std::vector< TrajectoryEntry > Trajectory
const Trajectory * myTrajectory
static SUMOTime parseNext(SUMOTime t)
static FCDHandler * myHandler
static void buildVehicleDevices(SUMOVehicle &v, std::vector< MSVehicleDevice * > &into)
Build devices for the given vehicle, if needed.
MSDevice_FCDReplay & operator=(const MSDevice_FCDReplay &)=delete
Invalidated assignment operator.
void move(SUMOTime currentTime)
static SUMOSAXReader * myParser
void setTrajectory(const Trajectory *const t)
static void insertOptions(OptionsCont &oc)
Inserts MSDevice_FCDReplay-options.
A road/street connecting two junctions.
std::vector< MSStage * > MSTransportablePlan
the structure holding the plan of a transportable
Abstract in-vehicle device.
Provides utility functions for matching locations to edges (during route parsing)
A RT-tree for efficient storing of SUMO's Named objects.
A storage for options typed value containers)
A point in 2D or 3D with translation and scaling methods.
Encapsulated SAX-Attributes.
SAX-handler base for SUMO-files.
SAX-reader encapsulation containing binary reader.
Representation of a vehicle.
Structure representing possible vehicle parameter.