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