74 const double arrivalPos,
const std::vector<std::string>& lines);
126 const MSEdge* getToEdge()
const;
194 return myRouteStep == myRoute.end() - 1 ? 0 : *(myRouteStep + 1);
198 return myContainerState;
virtual ~MSContainer()
destructor
double getAngle(SUMOTime now) const
returns the angle of the transportable
A lane area vehicles can halt at.
std::vector< const MSEdge * >::iterator myRouteStep
current step
virtual void proceed(MSNet *net, MSTransportable *container, SUMOTime now, Stage *previous)
proceeds to the next step
const MSEdge * getEdge() const
Returns the current edge.
ConstMSEdgeVector getEdges() const
the edges of the current stage
MSContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportablePlan *plan)
constructor
double getSpeed() const
the speed of the transportable
virtual void beginEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output.
std::vector< const MSEdge * > ConstMSEdgeVector
double myDepartPos
the depart position
double getEdgePos(SUMOTime now) const
const MSEdge * getFromEdge() const
Stage_Driving & operator=(const Stage_Driving &)
Invalidated assignment operator.
The simulated network and simulation perfomer.
~MSContainerStage_Driving()
destructor
The car-following model and parameter.
virtual void tripInfoOutput(OutputDevice &os, const MSTransportable *const transportable) const
Called on writing tripinfo output.
std::vector< const MSEdge * > myRoute
The route of the container.
A road/street connecting two junctions.
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
Representation of a vehicle.
A point in 2D or 3D with translation and scaling methods.
double getDepartPos() const
const MSEdge * getNextRouteEdge() const
double mySpeed
the speed of the container
SUMOTime getWaitingTime(SUMOTime now) const
time spent waiting for a ride
double getMaxSpeed() const
accessors to be used by MSCModel_NonInteracting
virtual void routeOutput(OutputDevice &os, const bool withRouteLength) const
Called on writing vehroute output.
Position getPosition(SUMOTime now) const
returns the position of the transportable
CState * myContainerState
state that is to be manipulated by MSCModel
virtual void endEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output (end of an action)
MSContainerStage_Driving(const MSEdge *destination, MSStoppingPlace *toStop, const double arrivalPos, const std::vector< std::string > &lines)
constructor
Structure representing possible vehicle parameter.
std::string getStageSummary() const
return string summary of the current stage
std::string getStageDescription() const
returns the stage description as a string
double getArrivalPos() const
Static storage of an output device and its base (abstract) implementation.
CState * getContainerState() const
The container following model for tranship.
std::string getStageDescription() const
Returns the current stage description as a string.
Representation of a lane in the micro simulation.
double myArrivalPos
the position at which we want to arrive
MSEdge * myCurrentInternalEdge
The current internal edge this container is on or 0.