Class TomlRouDiConfigFileProvider

Inheritance Relationships

Base Type

Class Documentation

class TomlRouDiConfigFileProvider : public iox::roudi::RouDiConfigFileProvider

Public Functions

TomlRouDiConfigFileProvider(iox::config::CmdLineArgs_t &cmdLineArgs) noexcept
virtual iox::cxx::expected<iox::RouDiConfig_t, iox::roudi::RouDiConfigFileParseError> parse() noexcept override

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

Parameters:

configFilePath[in] to the custom RouDi config file

Returns:

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