Class RouDiConfigFileProvider

Inheritance Relationships

Derived Type

Class Documentation

class RouDiConfigFileProvider

Base class for a config file provider.

Subclassed by iox::config::TomlRouDiConfigFileProvider

Public Functions

virtual cxx::expected<RouDiConfig_t, RouDiConfigFileParseError> parse() noexcept = 0

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

Protected Attributes

ConfigFilePathString_t m_customConfigFilePath