simulation_framework::core::lifecycle::FmuConfig Struct Reference
Last update: 19.09.2025A helper struct to pass necessary information to create FmuBaseActivity. More...
#include <fmu_config.h>
Public Types | |
| enum class | MessageType { kFmuMessage , kGenericBytesMessage } |
Public Attributes | |
| std::string | path |
| The path to the FMU file. | |
| FmuTopicToVarNames | topics_to_inputs {} |
| A map where the keys are input topics and the values are names of FMU variable are sent over that topic. | |
| FmuTopicToVarNames | topics_to_outputs {} |
| A map where the keys are output topics and the values are names of FMU variable are sent over that topic. | |
| FmuMessageToVarNames | message_to_var_name {} |
| A map used to coordinate variable names between the rtidds::FmuMessage and the FMU variable names. | |
| FmuVarToMessageNames | var_to_message_name {} |
| A map used to coordinate variable names between the FMU variable names and the rtidds::FmuMessage. | |
| std::map< std::string, MessageType > | topic_to_message_type {} |
| A map used to store the message type for each topic. | |
Detailed Description
A helper struct to pass necessary information to create FmuBaseActivity.
- See also
- FmuBaseActivity
Definition at line 32 of file fmu_config.h.
Member Enumeration Documentation
◆ MessageType
Definition at line 34 of file fmu_config.h.
Member Data Documentation
◆ message_to_var_name
| 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.
Definition at line 52 of file fmu_config.h.
◆ path
| std::string simulation_framework::core::lifecycle::FmuConfig::path |
The path to the FMU file.
Definition at line 41 of file fmu_config.h.
◆ topic_to_message_type
| 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.
Definition at line 60 of file fmu_config.h.
◆ topics_to_inputs
| 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.
Definition at line 44 of file fmu_config.h.
◆ topics_to_outputs
| 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.
Definition at line 47 of file fmu_config.h.
◆ var_to_message_name
| 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.
Definition at line 57 of file fmu_config.h.
The documentation for this struct was generated from the following file: