iceoryx_posh 2.0.3
Public Member Functions | List of all members
iox::config::TomlRouDiConfigFileProvider Class Reference
Inheritance diagram for iox::config::TomlRouDiConfigFileProvider:
Inheritance graph
[legend]
Collaboration diagram for iox::config::TomlRouDiConfigFileProvider:
Collaboration graph
[legend]

Public Member Functions

 TomlRouDiConfigFileProvider (iox::config::CmdLineArgs_t &cmdLineArgs) noexcept
 
iox::cxx::expected< iox::RouDiConfig_t, iox::roudi::RouDiConfigFileParseErrorparse () noexcept override
 interface to parse a config file which needs to be implemented for a custom parser More...
 
virtual cxx::expected< RouDiConfig_t, RouDiConfigFileParseErrorparse () noexcept=0
 interface to parse a config file which needs to be implemented for a custom parser More...
 

Additional Inherited Members

- Protected Attributes inherited from iox::roudi::RouDiConfigFileProvider
ConfigFilePathString_t m_customConfigFilePath
 

Member Function Documentation

◆ parse()

iox::cxx::expected< iox::RouDiConfig_t, iox::roudi::RouDiConfigFileParseError > iox::config::TomlRouDiConfigFileProvider::parse ( )
overridevirtualnoexcept

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

Parameters
[in]configFilePathto the custom RouDi config file
Returns
a cxx::expected with either the parsed RouDiConfig_t if the parsing was successful or a parsing error

Implements iox::roudi::RouDiConfigFileProvider.


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