80 const double arrivalPos,
const std::vector<std::string>& lines);
131 const MSEdge* getToEdge()
const;
198 return myRouteStep == myRoute.end() - 1 ? 0 : *(myRouteStep + 1);
202 return myContainerState;
virtual ~MSContainer()
destructor
double getSpeed() const
the speed 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
double getMaxSpeed() const
accessors to be used by MSCModel_NonInteracting
MSContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportablePlan *plan)
constructor
CState * getContainerState() const
std::string getStageDescription() const
Returns the current stage description as a string.
std::vector< const MSEdge * > ConstMSEdgeVector
double myDepartPos
the depart position
double getAngle(SUMOTime now) const
returns the angle of the transportable
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.
A point in 2D or 3D with translation and scaling methods.
double getDepartPos() const
const MSEdge * getEdge() const
Returns the current edge.
ConstMSEdgeVector getEdges() const
the edges of the current stage
double mySpeed
the speed of the container
virtual void tripInfoOutput(OutputDevice &os, MSTransportable *transportable) const
Called on writing tripinfo output.
Position getPosition(SUMOTime now) const
returns the position of the transportable
double getEdgePos(SUMOTime now) const
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
std::string getStageDescription() const
returns the stage description as a string
Structure representing possible vehicle parameter.
double getArrivalPos() const
Static storage of an output device and its base (abstract) implementation.
MSContainerStage_Driving(const MSEdge &destination, MSStoppingPlace *toStop, const double 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.
The container following model for tranship.
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.