i_fmu_logic
Last update: 19.09.2025This is the concrete Topic class that can be used for creation of a communication channel with given ...
Definition topic.h:38
The interface for FMU Logic to be used by an FMU activity.
Definition i_fmu_logic.h:26
virtual void SetInputs(const FmuInOutMap &inputs)=0
Set the fmu inputs.
virtual void SetupExperiment(double start=0, double stop=0, double tolerance=0)=0
Call fmi2SetupExperiment
virtual void EnterInitialization()=0
Call fmi2EnterInitializationMode
virtual void Setup(double start=0, double stop=0, double tolerance=0)=0
Call SetupExperiment, EnterInitialization, and ExitInitialization.
virtual FmuInOutMap InitInOutMap(std::set< std::string > variable_names)=0
Use the internal implementation to initialize the inputs or outputs with the correct underlying type.
virtual FmuInOutMap GetOutputs() const =0
Get all fmu outputs.
virtual void GetOutputs(FmuInOutMap &requested_outputs) const =0
Get a subset of the fmu outputs.
virtual bool Step(double step_size, const FmuInOutMap &input)=0
Set the fmu inputs and step the FMU model for given step size by calling fmi2DoStep
virtual bool Step(double step_size)=0
Step the FMU model for given step size by calling fmi2DoStep
virtual void ExitInitialization()=0
Call fmi2ExitInitializationMode
The namespace for all core functionalities under namespace simulation_framework.
The top namespace for simulation framework.