![]() |
Eclipse SUMO - Simulation of Urban MObility
|
Public Member Functions | |
void | abortWalk () |
SUMOTime | execute (SUMOTime currentTime) |
Executes the command. More... | |
const MSPerson * | getPerson () const |
MoveToNextEdge (MSPerson *person, MSPerson::MSPersonStage_Walking &walk) | |
~MoveToNextEdge () | |
Private Member Functions | |
MoveToNextEdge & | operator= (const MoveToNextEdge &) |
Invalidated assignment operator. More... | |
Private Attributes | |
MSPerson::MSPersonStage_Walking & | myParent |
MSPerson * | myPerson |
Definition at line 68 of file MSPModel_NonInteracting.h.
|
inline |
Definition at line 70 of file MSPModel_NonInteracting.h.
|
inline |
Definition at line 71 of file MSPModel_NonInteracting.h.
|
inline |
Definition at line 73 of file MSPModel_NonInteracting.h.
References myPerson.
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 79 of file MSPModel_NonInteracting.cpp.
References MSPModel_NonInteracting::PState::computeWalkingTime(), MSPerson::MSPersonStage_Walking::getEdge(), MSPerson::MSPersonStage_Walking::getPedestrianState(), MSPerson::MSPersonStage_Walking::moveToNextEdge(), myParent, and myPerson.
|
inline |
Definition at line 76 of file MSPModel_NonInteracting.h.
References myPerson.
|
private |
Invalidated assignment operator.
|
private |
Definition at line 81 of file MSPModel_NonInteracting.h.
Referenced by execute().
|
private |
Definition at line 82 of file MSPModel_NonInteracting.h.
Referenced by abortWalk(), execute(), and getPerson().