#include <MSPModel_Striping.h>
Definition at line 383 of file MSPModel_Striping.h.
◆ MovePedestrians()
◆ ~MovePedestrians()
MSPModel_Striping::MovePedestrians::~MovePedestrians |
( |
| ) |
|
|
inline |
◆ execute()
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 2560 of file MSPModel_Striping.cpp.
References MSPModel::BACKWARD, DELTA_T, MSPModel::FORWARD, MSPModel_InteractingState::getDirection(), Named::getID(), MSPModel_InteractingState::getPerson(), MSPModel_InteractingState::myEdgePos, MSPModel_InteractingState::myPosLat, and SIMTIME.
◆ 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, and MSCalibrator::CalibratorCommand.
Definition at line 83 of file Command.h.
◆ myModel
◆ priority
int Command::priority = 0 |
|
inherited |
The documentation for this class was generated from the following files: