Skip to main content
Checks for the completion status of a simulation. #include <simulation_completion_checker.h> Inheritance diagram for simulation_framework::autonomy::SimulationCompletionChecker: Inheritance graph [legend] Collaboration diagram for simulation_framework::autonomy::SimulationCompletionChecker: Collaboration graph [legend]

Public Member Functions

Public Member Functions inherited from simulation_framework::core::time::ISimulationCompletionChecker

Detailed Description

Checks for the completion status of a simulation. The SimulationCompletionChecker class implements the ISimulationCompletionChecker interface to determine whether a simulation has finished. It uses a clock interface only as duration depends on actual run and shutdown triggers. The class leverages the clock interface for time-based operations. See also ISimulationCompletionChecker, core::time::IClock Definition at line 35 of file simulation_completion_checker.h.

Constructor & Destructor Documentation

SimulationCompletionChecker()

Constructs a SimulationCompletionChecker instance. Initializes the checker with a clock interface. Parameters

Member Function Documentation

GetSimulationDuration()

virtual Retrieves the total duration of the simulation. Returns the default value of -1 as scenario duration depends on the actual run. Returns The total simulation duration in milliseconds. Implements simulation_framework::core::time::ISimulationCompletionChecker.

IsSimulationFinished()

virtual Checks if the simulation has completed. Returns false always for interface completion purpose, actual completion depends on the run and shutdown triggers. Implements simulation_framework::core::time::ISimulationCompletionChecker. The documentation for this class was generated from the following file: