![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
SUMOTime | execute (SUMOTime currentTime) |
Executes the command. More... | |
MoveToNextEdge (MSTransportable *container, MSContainer::MSContainerStage_Tranship &tranship) | |
~MoveToNextEdge () | |
Private Member Functions | |
MoveToNextEdge & | operator= (const MoveToNextEdge &) |
Invalidated assignment operator. More... | |
Private Attributes | |
MSTransportable * | myContainer |
MSContainer::MSContainerStage_Tranship & | myParent |
Definition at line 70 of file MSCModel_NonInteracting.h.
|
inline |
Definition at line 72 of file MSCModel_NonInteracting.h.
|
inline |
Definition at line 73 of file MSCModel_NonInteracting.h.
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.
[in] | currentTime | The current simulation time |
ProcessError | Derived actions may throw this exception |
Implements Command.
Definition at line 88 of file MSCModel_NonInteracting.cpp.
References CState::computeTranshipTime(), MSContainer::MSContainerStage_Tranship::getContainerState(), MSContainer::MSContainerStage_Tranship::getEdge(), MSContainer::MSContainerStage_Tranship::moveToNextEdge(), myContainer, and myParent.
|
private |
Invalidated assignment operator.
|
private |
Definition at line 78 of file MSCModel_NonInteracting.h.
Referenced by execute().
|
private |
Definition at line 77 of file MSCModel_NonInteracting.h.
Referenced by execute().