Class DomainBridgeOptions
Defined in File domain_bridge_options.hpp
Class Documentation
-
class DomainBridgeOptions
Options for domain bridge.
Public Types
Public Functions
-
DomainBridgeOptions() = default
Constructor.
Default values:
name = “domain_bridge”
mode = Mode::Normal
-
virtual ~DomainBridgeOptions() = default
Destructor.
-
DomainBridgeOptions(const DomainBridgeOptions &other) = default
Copy constructor.
-
DomainBridgeOptions &operator=(const DomainBridgeOptions &other) = default
Assignment operator.
-
const std::string &name() const
Get the name of the domain bridge.
-
DomainBridgeOptions &name(std::string name)
Set the name of the domain bridge.
The name is used to prefix names of nodes created by the domain bridge.
-
DomainBridgeOptions &mode(Mode mode)
Set the domain bridge mode.
-
DomainBridgeOptions &on_new_domain_callback(std::function<void(size_t)> callback)
Callback which is called before creating a new context/node for a new domain.
The only argument passed to the callback is the domain id. This is an horrible hack that allows you to configure vendor specific qos settings just before a new domain participant is going to be created.
-
DomainBridgeOptions() = default