Skip to content

iox::config::TomlRouDiConfigFileProvider🔗

Inherits from iox::roudi::RouDiConfigFileProvider

Public Functions🔗

Name
TomlRouDiConfigFileProvider(iox::config::CmdLineArgs_t & cmdLineArgs)
virtual iox::cxx::expected< iox::RouDiConfig_t, iox::roudi::RouDiConfigFileParseError > parse() override
interface to parse a config file which needs to be implemented for a custom parser

Additional inherited members🔗

Protected Attributes inherited from iox::roudi::RouDiConfigFileProvider

Name
ConfigFilePathString_t m_customConfigFilePath

Public Functions Documentation🔗

function TomlRouDiConfigFileProvider🔗

TomlRouDiConfigFileProvider(
    iox::config::CmdLineArgs_t & cmdLineArgs
)

function parse🔗

virtual iox::cxx::expected< iox::RouDiConfig_t, iox::roudi::RouDiConfigFileParseError > parse() override

interface to parse a config file which needs to be implemented for a custom parser

Parameters:

  • configFilePath to the custom RouDi config file

Return: a cxx::expected with either the parsed RouDiConfig_t if the parsing was successful or a parsing error

Reimplements: iox::roudi::RouDiConfigFileProvider::parse


Updated on 2 April 2022 at 16:37:47 CEST