![]() |
Eclipse SUMO - Simulation of Urban MObility
|
#include <MSPModel_Striping.h>
Public Member Functions | |
SUMOTime | execute (SUMOTime currentTime) |
Executes the command. More... | |
MovePedestrians (MSPModel_Striping *model) | |
virtual SUMOTime | shiftTime (SUMOTime, SUMOTime, SUMOTime) |
Reschedule or deschedule the command when quick-loading state. More... | |
~MovePedestrians () | |
Private Member Functions | |
MovePedestrians & | operator= (const MovePedestrians &) |
Invalidated assignment operator. More... | |
Private Attributes | |
MSPModel_Striping *const | myModel |
Definition at line 385 of file MSPModel_Striping.h.
|
inline |
Definition at line 387 of file MSPModel_Striping.h.
|
inline |
Definition at line 388 of file MSPModel_Striping.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 2193 of file MSPModel_Striping.cpp.
References MSPModel::BACKWARD, DELTA_T, MSPModel::FORWARD, Named::getID(), MSPModel_Striping::PState::myDir, MSPModel_Striping::PState::myPerson, MSPModel_Striping::PState::myRelX, MSPModel_Striping::PState::myRelY, and SIMTIME.
|
private |
Invalidated assignment operator.
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.
[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 |
Reimplemented in MSTrafficLightLogic::SwitchCommand.
|
private |
Definition at line 391 of file MSPModel_Striping.h.