 |
Eclipse SUMO - Simulation of Urban MObility
|
Go to the documentation of this file.
73 const double arrivalPos,
const std::vector<std::string>& lines);
The car-following model and parameter.
SUMOTime getWaitingTime(SUMOTime now) const
Returns the time the container spent waiting.
virtual void routeOutput(OutputDevice &os, const bool withRouteLength) const
Called on writing vehroute output.
A lane area vehicles can halt at.
double myArrivalPos
the position at which we want to arrive
Representation of a lane in the micro simulation.
virtual bool proceed(MSNet *net, SUMOTime time)
Static storage of an output device and its base (abstract) implementation.
double getMaxSpeed() const
accessors to be used by MSCModel_NonInteracting
The simulated network and simulation perfomer.
double getDepartPos() const
Representation of a vehicle.
std::vector< const MSEdge * > ConstMSEdgeVector
MSContainer(const SUMOVehicleParameter *pars, MSVehicleType *vtype, MSTransportablePlan *plan)
constructor
double getArrivalPos() const
Structure representing possible vehicle parameter.
double getSpeed() const
Returns the speed of the container.
double mySpeed
the speed of the container
virtual void tripInfoOutput(OutputDevice &os, const MSTransportable *const transportable) const
Called on writing tripinfo output.
MSEdge * myCurrentInternalEdge
The current internal edge this container is on or 0.
const MSEdge * getNextRouteEdge() const
virtual ~MSContainer()
destructor
CState * myContainerState
state that is to be manipulated by MSCModel
std::vector< const MSEdge * > myRoute
The route of the container.
virtual void proceed(MSNet *net, MSTransportable *container, SUMOTime now, Stage *previous)
proceeds to the next step
MSContainerStage_Tranship(const std::vector< const MSEdge * > &route, MSStoppingPlace *toStop, double speed, double departPos, double arrivalPos)
constructor
virtual void routeOutput(OutputDevice &os, const bool withRouteLength) const
Called on writing vehroute output.
const MSEdge * getFromEdge() const
Returns first edge of the containers route.
~MSContainerStage_Driving()
destructor
MSContainerStage_Tranship & operator=(const MSContainerStage_Tranship &)
Invalidated assignment operator.
The container following model for tranship.
bool moveToNextEdge(MSTransportable *container, SUMOTime currentTime, MSEdge *nextInternal=0)
move forward and return whether the container arrived
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.
A point in 2D or 3D with translation and scaling methods.
std::vector< const MSEdge * >::iterator myRouteStep
current step
std::string getStageDescription() const
returns the stage description as a string
A road/street connecting two junctions.
std::string getStageDescription() const
Returns the current stage description as a string.
MSContainer & operator=(const MSContainer &)
Invalidated assignment operator.
~MSContainerStage_Tranship()
destructor
virtual void tripInfoOutput(OutputDevice &os, const MSTransportable *const transportable) const
Called on writing tripinfo output.
double myDepartPos
the depart position
ConstMSEdgeVector getEdges() const
the edges of the current stage
std::vector< MSTransportable::Stage * > MSTransportablePlan
the structure holding the plan of a transportable
virtual void routeOutput(OutputDevice &os, const bool withRouteLength) const
Called on writing vehroute output.
double getEdgePos(SUMOTime now) const
Returns the offset from the start of the current edge measured in its natural direction.
double getDistance() const
get travel distance in this stage
std::string getStageSummary() const
return string summary of the current stage
CState * getContainerState() const
double getAngle(SUMOTime now) const
Returns the angle of the container.
virtual void beginEventOutput(const MSTransportable &c, SUMOTime t, OutputDevice &os) const
Called for writing the events output.
const MSEdge * getToEdge() const
Returns last edge of the containers route.
MSContainerStage_Driving(const MSEdge *destination, MSStoppingPlace *toStop, const double arrivalPos, const std::vector< std::string > &lines)
constructor
std::string getStageSummary() const
return string summary of the current stage
Position getPosition(SUMOTime now) const
Returns the position of the container.
virtual void endEventOutput(const MSTransportable &c, SUMOTime t, OutputDevice &os) const
Called for writing the events output (end of an action)
const MSEdge * getEdge() const
Returns the current edge.