Struct astutedds::routing::RoutingServiceConfig

ClassList > astutedds > routing > RoutingServiceConfig

Top-level configuration for the routing service.

  • #include <routing_config.hpp>

Public Attributes

Type Name
std::vector< DomainRouteConfig > domain_routes
std::string name
Service instance name.

Public Static Functions

Type Name
RoutingServiceConfig from_xml_file (const std::string & path)
Load configuration from an XML file on disk.
RoutingServiceConfig from_xml_string (const std::string & xml)
Load configuration from an XML string.

Public Attributes Documentation

variable domain_routes

std::vector<DomainRouteConfig> astutedds::routing::RoutingServiceConfig::domain_routes;

variable name

Service instance name.

std::string astutedds::routing::RoutingServiceConfig::name;


Public Static Functions Documentation

function from_xml_file

Load configuration from an XML file on disk.

static RoutingServiceConfig astutedds::routing::RoutingServiceConfig::from_xml_file (
    const std::string & path
) 

Exception:

  • std::runtime_error on parse failure.

function from_xml_string

Load configuration from an XML string.

static RoutingServiceConfig astutedds::routing::RoutingServiceConfig::from_xml_string (
    const std::string & xml
) 

Exception:

  • std::runtime_error on parse failure.


The documentation for this class was generated from the following file include/astutedds/routing/routing_config.hpp