autonomy/simulation/simulation_completion_checker/simulation_completion_checker.h (line 35)
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
Inherits from:
Members
- GetSimulationDuration
- IsSimulationFinished
- SimulationCompletionChecker
- ~ISimulationCompletionChecker
Public functions
Function SimulationCompletionChecker
SimulationCompletionChecker instance.
Initializes the checker with a clock interface.
Parameters:
- clock_ptr: A shared pointer to the clock interface for time management during the simulation.
- std::shared_ptr< core::time::IClock > clock_ptr
Function IsSimulationFinished
false always for interface completion purpose, actual completion depends on the run and shutdown triggers.
Return type: bool
Reimplements: IsSimulationFinished