Eclipse SUMO - Simulation of Urban MObility
MSCalibrator::CalibratorCommand Class Reference

#include <MSCalibrator.h>

Inheritance diagram for MSCalibrator::CalibratorCommand:
Collaboration diagram for MSCalibrator::CalibratorCommand:

Public Member Functions

 CalibratorCommand (MSCalibrator *cali)
 
SUMOTime execute (SUMOTime currentTime)
 Executes the command. More...
 

Private Attributes

MSCalibratormyCalibrator
 

Detailed Description

Definition at line 101 of file MSCalibrator.h.

Constructor & Destructor Documentation

◆ CalibratorCommand()

MSCalibrator::CalibratorCommand::CalibratorCommand ( MSCalibrator cali)
inline

Definition at line 103 of file MSCalibrator.h.

Member Function Documentation

◆ execute()

SUMOTime MSCalibrator::CalibratorCommand::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 106 of file MSCalibrator.h.

References MSCalibrator::execute(), and myCalibrator.

Field Documentation

◆ myCalibrator

MSCalibrator* MSCalibrator::CalibratorCommand::myCalibrator
private

Definition at line 111 of file MSCalibrator.h.

Referenced by execute().


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