SUMO - Simulation of Urban MObility
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
MSPerson::MSPersonStage_Walking::MoveToNextEdge Class Reference

#include <MSPerson.h>

Inheritance diagram for MSPerson::MSPersonStage_Walking::MoveToNextEdge:
Command

Public Member Functions

SUMOTime execute (SUMOTime currentTime)
 Executes the command. More...
 
 MoveToNextEdge (MSPerson *person, MSPersonStage_Walking &walk)
 
 ~MoveToNextEdge ()
 

Private Member Functions

MoveToNextEdgeoperator= (const MoveToNextEdge &)
 Invalidated assignment operator. More...
 

Private Attributes

MSPersonStage_WalkingmyParent
 
MSPersonmyPerson
 

Detailed Description

Definition at line 238 of file MSPerson.h.

Constructor & Destructor Documentation

MSPerson::MSPersonStage_Walking::MoveToNextEdge::MoveToNextEdge ( MSPerson person,
MSPersonStage_Walking walk 
)
inline

Definition at line 240 of file MSPerson.h.

MSPerson::MSPersonStage_Walking::MoveToNextEdge::~MoveToNextEdge ( )
inline

Definition at line 241 of file MSPerson.h.

Member Function Documentation

SUMOTime MSPerson::MSPersonStage_Walking::MoveToNextEdge::execute ( SUMOTime  currentTime)
inlinevirtual

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]currentTimeThe current simulation time
Returns
The time after which the command shall be executed again, 0 if this command shall be descheduled.
Exceptions
ProcessErrorDerived actions may throw this exception

Implements Command.

Definition at line 242 of file MSPerson.h.

References MSPerson::MSPersonStage_Walking::moveToNextEdge(), myParent, and myPerson.

MoveToNextEdge& MSPerson::MSPersonStage_Walking::MoveToNextEdge::operator= ( const MoveToNextEdge )
private

Invalidated assignment operator.

Field Documentation

MSPersonStage_Walking& MSPerson::MSPersonStage_Walking::MoveToNextEdge::myParent
private

Definition at line 246 of file MSPerson.h.

Referenced by execute().

MSPerson* MSPerson::MSPersonStage_Walking::MoveToNextEdge::myPerson
private

Definition at line 247 of file MSPerson.h.

Referenced by execute().


The documentation for this class was generated from the following file: