FMI 1.0
FaaS Message Interface
Public Member Functions | List of all members
FMI::Utils::Configuration Class Reference

Configuration parser for the FMI JSON configuration file. More...

#include <Configuration.h>

Collaboration diagram for FMI::Utils::Configuration:
Collaboration graph

Public Member Functions

 Configuration (const std::string &config_path)
 
std::map< std::string, std::pair< std::map< std::string, std::string >, std::map< std::string, std::string > > > get_active_channels ()
 Returns the name and a pair with the configuration and model parameters for all channels that are marked active ("active": True) in the config file. More...
 
double get_faas_price ()
 Returns the configured GiB Second Price for the FaaS platform. More...
 

Detailed Description

Configuration parser for the FMI JSON configuration file.

Constructor & Destructor Documentation

◆ Configuration()

FMI::Utils::Configuration::Configuration ( const std::string &  config_path)
explicit

Member Function Documentation

◆ get_active_channels()

std::map< std::string, std::pair< std::map< std::string, std::string >, std::map< std::string, std::string > > > FMI::Utils::Configuration::get_active_channels ( )

Returns the name and a pair with the configuration and model parameters for all channels that are marked active ("active": True) in the config file.

◆ get_faas_price()

double FMI::Utils::Configuration::get_faas_price ( )

Returns the configured GiB Second Price for the FaaS platform.


The documentation for this class was generated from the following files: