Structure simulation_framework::core::lifecycle::FmuConfig
Last update: 22.04.2026
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 35)
A helper struct to pass necessary information to create FmuBaseActivity.
See also: FmuBaseActivity
Members
- message_to_var_name
- MessageType
- path
- topic_to_message_type
- topics_to_init_params
- topics_to_inputs
- topics_to_outputs
- var_to_message_name
Public types
Enumeration type MessageType
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 37)
enum MessageType {
kFmuMessage,
kGenericBytesMessage
}
Enumerator kFmuMessage
Enumerator kGenericBytesMessage
Public attributes
Variable path
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 44)
std::string simulation_framework::core::lifecycle::FmuConfig::path
The path to the FMU file.
Type: std::string
Variable topics_to_inputs
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 47)
FmuTopicToVarNames simulation_framework::core::lifecycle::FmuConfig::topics_to_inputs {}
A map where the keys are input topics and the values are names of FMU variable are sent over that topic.
Type: FmuTopicToVarNames
Variable topics_to_init_params
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 51)
FmuTopicToVarNames simulation_framework::core::lifecycle::FmuConfig::topics_to_init_params {}
A map where the keys are init param topics and the values are names of FMU variable initialized with that topic.
Type: FmuTopicToVarNames
Variable topics_to_outputs
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 54)
FmuTopicToVarNames simulation_framework::core::lifecycle::FmuConfig::topics_to_outputs {}
A map where the keys are output topics and the values are names of FMU variable are sent over that topic.
Type: FmuTopicToVarNames
Variable message_to_var_name
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 59)
FmuMessageToVarNames simulation_framework::core::lifecycle::FmuConfig::message_to_var_name {}
A map used to coordinate variable names between the rtidds::FmuMessage and the FMU variable names.
This is needed when connecting multiple FMUs when the FMU variable names do not match between the inputs of one FMU and the outputs of another FMU. This is the opposite mapping of var_to_message_name.
Type: FmuMessageToVarNames
Variable var_to_message_name
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 64)
FmuVarToMessageNames simulation_framework::core::lifecycle::FmuConfig::var_to_message_name {}
A map used to coordinate variable names between the FMU variable names and the rtidds::FmuMessage.
This is needed for connecting multiple FMUs when the FMU variable names do not match between the inputs of one FMU and the outputs of another FMU. This is the opposite mapping of message_to_var_name.
Type: FmuVarToMessageNames
Variable topic_to_message_type
Definition: core/lifecycle/fmu_activity/fmu_config.h (line 67)
std::map<std::string, MessageType> simulation_framework::core::lifecycle::FmuConfig::topic_to_message_type {}
A map used to store the message type for each topic.
Type: std::map< std::string, MessageType >