Definition at line 79 of file MSPModel_NonInteracting.h.
◆ MoveToNextEdge()
◆ ~MoveToNextEdge()
MSPModel_NonInteracting::MoveToNextEdge::~MoveToNextEdge |
( |
| ) |
|
|
virtual |
◆ abortWalk()
void MSPModel_NonInteracting::MoveToNextEdge::abortWalk |
( |
| ) |
|
|
inline |
◆ execute()
SUMOTime MSPModel_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] | currentTime | The current simulation time |
- Returns
- The time after which the command shall be executed again, 0 if this command shall be descheduled.
- Exceptions
-
Implements Command.
Definition at line 101 of file MSPModel_NonInteracting.cpp.
◆ getTransportable()
const MSTransportable* MSPModel_NonInteracting::MoveToNextEdge::getTransportable |
( |
| ) |
const |
|
inline |
◆ operator=()
Invalidated assignment operator.
◆ shiftTime()
Reschedule or deschedule the command when quick-loading state.
The implementations should return -1 if the command shall not be re-scheduled, or a value >= 0 that describe the new time at which the command shall be executed again.
- Parameters
-
[in] | currentTime | The current simulation time |
[in] | execTime | The time at which the command would have been executed |
[in] | newTime | The simulation time at which the simulation is restarted |
- Returns
- The time at which the command shall be executed again
Reimplemented in MSTrafficLightLogic::SwitchCommand.
Definition at line 82 of file Command.h.
◆ myModel
◆ myParent
◆ myTransportable
The documentation for this class was generated from the following files: