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

#include <MSPModel_Striping.h>

Inheritance diagram for MSPModel_Striping::MovePedestrians:
Command

Public Member Functions

SUMOTime execute (SUMOTime currentTime)
 Executes the command.
 MovePedestrians (MSPModel_Striping *model)
 ~MovePedestrians ()

Private Member Functions

MovePedestriansoperator= (const MovePedestrians &)
 Invalidated assignment operator.

Private Attributes

MSPModel_Striping *const myModel

Detailed Description

Definition at line 244 of file MSPModel_Striping.h.

Constructor & Destructor Documentation

MSPModel_Striping::MovePedestrians::MovePedestrians ( MSPModel_Striping model)
inline

Definition at line 246 of file MSPModel_Striping.h.

MSPModel_Striping::MovePedestrians::~MovePedestrians ( )
inline

Definition at line 247 of file MSPModel_Striping.h.

Member Function Documentation

SUMOTime MSPModel_Striping::MovePedestrians::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]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 1017 of file MSPModel_Striping.cpp.

References MSPModel::BACKWARD, DELTA_T, MSPModel::FORWARD, Named::getID(), MSPerson::getID(), LOG_ALL, MSPModel_Striping::PState::myDir, MSPModel::myModel, MSPModel_Striping::PState::myPerson, MSPModel_Striping::PState::myRelX, MSPModel_Striping::PState::myRelY, and SIMTIME.

MovePedestrians& MSPModel_Striping::MovePedestrians::operator= ( const MovePedestrians )
private

Invalidated assignment operator.

Field Documentation

MSPModel_Striping* const MSPModel_Striping::MovePedestrians::myModel
private

Definition at line 250 of file MSPModel_Striping.h.


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