> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# File fmu_config.h

![][C++]

**Location**: `core/lifecycle/fmu_activity/fmu_config.h`

## Classes

* [simulation\_framework::core::lifecycle::FmuConfig](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/structsimulation__framework_1_1core_1_1lifecycle_1_1FmuConfig.md)

## Namespaces

* [simulation\_framework](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework.md)
* [simulation\_framework::core](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework_1_1core.md)
* [simulation\_framework::core::lifecycle](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/namespacesimulation__framework_1_1core_1_1lifecycle.md)

## Includes

* core/export/simfwk\_core\_export.h
* \<cstdint>
* \<map>
* \<set>
* \<string>
* \<variant>
* \<vector>

## Included by

* [fmu\_base\_activity.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/fmu__base__activity_8h.md)
* [i\_activity\_factory.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/i__activity__factory_8h.md)
* [i\_fmu\_logic.h](https://developer.synopsys.com/docs/avxcelerate/avxcelerate-simulation-framework/reference/i__fmu__logic_8h.md)

## Source

```cpp theme={null}


#ifndef SIMFWK_CORE_LIFECYCLE_FMUACTIVITY_FMUCONFIG_H
#define SIMFWK_CORE_LIFECYCLE_FMUACTIVITY_FMUCONFIG_H

#include "core/export/simfwk_core_export.h"
#include <cstdint>
#include <map>
#include <set>
#include <string>
#include <variant>
#include <vector>

namespace simulation_framework
{
namespace core
{
namespace lifecycle
{

using FmuInOutType = std::variant<bool, int, double, std::string, std::vector<uint8_t>>;
using FmuInOutMap = std::map<std::string, FmuInOutType>;
using FmuTopicToVarNames = std::map<std::string, std::set<std::string>>;
using FmuTopicToVarMap = std::map<std::string, FmuInOutMap>;
using FmuMessageToVarNames = std::map<std::string, std::string>;
using FmuVarToMessageNames = std::map<std::string, std::string>;

struct SIMFWK_CORE_API FmuConfig
{
    enum class MessageType
    {
        kFmuMessage,
        kGenericBytesMessage
    };

    std::string path;

    FmuTopicToVarNames topics_to_inputs{};

    FmuTopicToVarNames topics_to_init_params{};

    FmuTopicToVarNames topics_to_outputs{};

    FmuMessageToVarNames message_to_var_name{};

    FmuVarToMessageNames var_to_message_name{};

    std::map<std::string, MessageType> topic_to_message_type{};
};

}  // namespace lifecycle
}  // namespace core
}  // namespace simulation_framework

#endif  // SIMFWK_CORE_LIFECYCLE_FMUACTIVITY_FMUCONFIG_H
```

[private]: https://img.shields.io/badge/-private-red "private"

[public]: https://img.shields.io/badge/-public-brightgreen "public"

[const]: https://img.shields.io/badge/-const-lightblue "const"

[C++]: https://img.shields.io/badge/language-C%2B%2B-blue "C++"

[protected]: https://img.shields.io/badge/-protected-yellow "protected"

[static]: https://img.shields.io/badge/-static-lightgrey "static"
