SUMO - Simulation of Urban MObility
MSCModel_NonInteracting::MoveToNextEdge Class Reference
Inheritance diagram for MSCModel_NonInteracting::MoveToNextEdge:
Inheritance graph
Collaboration diagram for MSCModel_NonInteracting::MoveToNextEdge:
Collaboration graph

Public Member Functions

SUMOTime execute (SUMOTime currentTime)
 Executes the command. More...
 
 MoveToNextEdge (MSTransportable *container, MSContainer::MSContainerStage_Tranship &tranship)
 
 ~MoveToNextEdge ()
 

Private Member Functions

MoveToNextEdgeoperator= (const MoveToNextEdge &)
 Invalidated assignment operator. More...
 

Private Attributes

MSTransportablemyContainer
 
MSContainer::MSContainerStage_TranshipmyParent
 

Detailed Description

Definition at line 71 of file MSCModel_NonInteracting.h.

Constructor & Destructor Documentation

◆ MoveToNextEdge()

MSCModel_NonInteracting::MoveToNextEdge::MoveToNextEdge ( MSTransportable container,
MSContainer::MSContainerStage_Tranship tranship 
)
inline

Definition at line 73 of file MSCModel_NonInteracting.h.

◆ ~MoveToNextEdge()

MSCModel_NonInteracting::MoveToNextEdge::~MoveToNextEdge ( )
inline

Definition at line 74 of file MSCModel_NonInteracting.h.

References execute().

Member Function Documentation

◆ execute()

SUMOTime MSCModel_NonInteracting::MoveToNextEdge::execute ( SUMOTime  currentTime)
virtual

Executes the command.

The implementations should return 0 if the command shall not be repeated, or a value larger than 0 that describe the time after which the command shall be executed again. Values below 0 must not be returned.

Parameters
[in]currentTimeThe current simulation time
Returns
The time after which the command shall be executed again, 0 if this command shall be descheduled.
Exceptions
ProcessErrorDerived actions may throw this exception

Implements Command.

Definition at line 89 of file MSCModel_NonInteracting.cpp.

References CState::computeTranshipTime().

Referenced by ~MoveToNextEdge().

◆ operator=()

MoveToNextEdge& MSCModel_NonInteracting::MoveToNextEdge::operator= ( const MoveToNextEdge )
private

Invalidated assignment operator.

Field Documentation

◆ myContainer

MSTransportable* MSCModel_NonInteracting::MoveToNextEdge::myContainer
private

Definition at line 79 of file MSCModel_NonInteracting.h.

◆ myParent

MSContainer::MSContainerStage_Tranship& MSCModel_NonInteracting::MoveToNextEdge::myParent
private

Definition at line 78 of file MSCModel_NonInteracting.h.


The documentation for this class was generated from the following files: