Skip to main content
Definition: autonomy/simulation/sim_instance/i_sim_instance_creator.h (line 33) Defines a generic interface for creating instances of core::lifecycle::ISimulationInstance. This interface provides a flexible and domain-agnostic mechanism to create simulation instances. Users can implement this interface to create domain-specific instances of ISimulationInstance using generic simulation parameters. The design supports extensibility by allowing the creation of simulation instances tailored to specific requirements based on core::SimulationParameters. See also: core::lifecycle::ISimulationInstance, core::SimulationParameters Inherited by:

Members

Public functions

Function ~ISimInstanceCreator

Virtual destructor for safe polymorphic deletion. Return type:

Function Create

Creates a simulation instance using the provided core simulation parameters. This method generates a domain-specific implementation of ISimulationInstance based on the provided core::SimulationParameters. Parameters:
  • core_parameters: The generic parameters required to configure and initialize the simulation instance.
Returns: A unique pointer to a concrete implementation of core::lifecycle::ISimulationInstance. Parameters: Return type: std::unique_ptr< core::lifecycle::ISimulationInstance > Reimplemented by: