simulation_framework::core::time::ISimulationCompletionChecker Class Reference
Last update: 16.07.2025Interface for determining simulation completion. More...
#include <i_simulation_completion_checker.h>
Inheritance diagram for simulation_framework::core::time::ISimulationCompletionChecker:

Public Member Functions | |
| virtual bool | IsSimulationFinished () const =0 |
| Checks if the simulation has finished. | |
| virtual | ~ISimulationCompletionChecker ()=default |
| Virtual destructor for proper cleanup of derived classes. | |
| virtual std::chrono::milliseconds | GetSimulationDuration () const =0 |
| Retrieves the total duration of the simulation. | |
Detailed Description
Interface for determining simulation completion.
The ISimulationCompletionChecker provides methods to check if a simulation has finished running and to retrieve its total duration. This interface is used to encapsulate the logic for determining simulation completion.
Definition at line 25 of file i_simulation_completion_checker.h.
Member Function Documentation
◆ GetSimulationDuration()
|
pure virtual |
Retrieves the total duration of the simulation.
- Returns
- The simulation duration as a
std::chrono::millisecondsobject.
Implemented in simulation_framework::autonomy::SimulationCompletionChecker.
◆ IsSimulationFinished()
|
pure virtual |
Checks if the simulation has finished.
- Returns
trueif the simulation is finished; otherwise,false.
Implemented in simulation_framework::autonomy::SimulationCompletionChecker.
The documentation for this class was generated from the following file: