Function ros2_medkit_gateway::make_gateway_plugin_context

Function Documentation

std::unique_ptr<RosPluginContext> ros2_medkit_gateway::make_gateway_plugin_context(GatewayNode *node, FaultManager *fault_manager, ResourceSamplerRegistry *sampler_registry = nullptr)

Factory for the concrete gateway plugin context. Always returns a RosPluginContext because the gateway is itself a ROS 2 node; callers that only consume the neutral PluginContext API can hold the result as a unique_ptr<PluginContext>.