Class ServiceBridgeOptions

Class Documentation

class ServiceBridgeOptions

Options for bridged services.

Public Functions

ServiceBridgeOptions() = default

Constructor.

Default values:

  • callback_group = nullptr (node’s default)

  • remap_name = “” (no remap)

ServiceBridgeOptions &operator=(const ServiceBridgeOptions &other) = default

Assignment operator.

std::shared_ptr<rclcpp::CallbackGroup> callback_group() const

Get callback group associated with the services pub/sub pair.

ServiceBridgeOptions &callback_group(std::shared_ptr<rclcpp::CallbackGroup> group)

Set the callback group associated with the services pub/sub pair.

const std::string &remap_name() const

Get remap name.

ServiceBridgeOptions &remap_name(const std::string &remap_name)

Set remap name.

An empty string implies no remap.