Function ros2_medkit_gateway::as_ros_plugin_context

Function Documentation

inline RosPluginContext *ros2_medkit_gateway::as_ros_plugin_context(PluginContext &ctx)

Cast helper for plugins.

The gateway always passes a RosPluginContext through GatewayPlugin::set_context, so this static_cast is safe for any in-process plugin loaded by PluginManager. Out-of-process or test-only PluginContext implementations that do not derive from RosPluginContext must not be passed through this helper.