81 const SUMOReal arrivalPos,
const std::vector<std::string>& lines);
132 const MSEdge* getToEdge()
const;
196 return myRouteStep == myRoute.end() - 1 ? 0 : *(myRouteStep + 1);
200 return myContainerState;
virtual ~MSContainer()
destructor
SUMOReal myDepartPos
the depart position
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
SUMOReal getArrivalPos() const
SUMOReal getAngle(SUMOTime now) const
returns the angle of the transportable
const MSEdge * getEdge() const
Returns the current edge.
SUMOReal getMaxSpeed() const
accessors to be used by MSCModel_NonInteracting
MSContainerStage_Driving(const MSEdge &destination, MSStoppingPlace *toStop, const SUMOReal arrivalPos, const std::vector< std::string > &lines)
constructor
virtual void beginEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output.
SUMOReal getSpeed() const
the speed of the transportable
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.
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.
SUMOReal mySpeed
the speed of the container
A point in 2D or 3D with translation and scaling methods.
const MSEdge * getNextRouteEdge() const
SUMOReal myArrivalPos
the position at which we want to arrive
SUMOTime getWaitingTime(SUMOTime now) const
time spent waiting for a ride
virtual void tripInfoOutput(OutputDevice &os) const
Called on writing tripinfo output.
Position getPosition(SUMOTime now) const
returns the position of the transportable
CState * myContainerState
state that is to be manipulated by MSCModel
SUMOReal getEdgePos(SUMOTime now) const
virtual void endEventOutput(const MSTransportable &p, SUMOTime t, OutputDevice &os) const
Called for writing the events output (end of an action)
SUMOReal getDepartPos() const
Structure representing possible vehicle parameter.
std::string getStageDescription() const
returns the stage description as a string
virtual void routeOutput(OutputDevice &os) const
Called on writing vehroute output.
Static storage of an output device and its base (abstract) implementation.
CState * getContainerState() const
MSContainer(const SUMOVehicleParameter *pars, const MSVehicleType *vtype, MSTransportablePlan *plan)
constructor
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.
MSEdge * myCurrentInternalEdge
The current internal edge this container is on or 0.