|
Goby3 3.4.0
2026.04.13
|
Functions | |
| template<typename InterprocessType , typename PublishConfig > | |
| void | publish_tool_impl (InterprocessType &interprocess, const PublishConfig &cfg, const std::string &tool_name) |
| Publish a single message on the interprocess layer using the provided publish config. | |
| template<typename InterprocessType , typename SubscribeConfig > | |
| void | subscribe_tool_impl (InterprocessType &interprocess, const SubscribeConfig &cfg, std::map< int, std::unique_ptr< goby::middleware::log::LogPlugin > > &plugins, const std::string &internal_group_regex="") |
| Set up subscriptions for the interprocess subscribe tool. | |
| void goby::middleware::tool::publish_tool_impl | ( | InterprocessType & | interprocess, |
| const PublishConfig & | cfg, | ||
| const std::string & | tool_name | ||
| ) |
Publish a single message on the interprocess layer using the provided publish config.
| InterprocessType | Transport-specific interprocess portal type |
| PublishConfig | Config type with group(), type(), value(), and load_shared_library() accessors (e.g. goby::middleware::protobuf::PublishToolConfig or a superset) |
| interprocess | Reference to the interprocess portal |
| cfg | Publish configuration |
| tool_name | Name of the tool for error messages (e.g. "goby zeromq publish") |
Definition at line 66 of file publish_subscribe_tool.h.
| void goby::middleware::tool::subscribe_tool_impl | ( | InterprocessType & | interprocess, |
| const SubscribeConfig & | cfg, | ||
| std::map< int, std::unique_ptr< goby::middleware::log::LogPlugin > > & | plugins, | ||
| const std::string & | internal_group_regex = "" |
||
| ) |
Set up subscriptions for the interprocess subscribe tool.
| InterprocessType | Transport-specific interprocess portal type |
| SubscribeConfig | Config type with group_regex(), type_regex(), scheme(), has_scheme(), include_internal_groups() accessors |
| interprocess | Reference to the interprocess portal |
| cfg | Subscribe configuration |
| plugins | Map of scheme->LogPlugin for deserializing messages |
| internal_group_regex | Regex pattern for internal groups to filter unless include_internal_groups() is set. Pass empty string to disable filtering. |
Definition at line 160 of file publish_subscribe_tool.h.