| 62 | } |
| 63 | |
| 64 | inline void PbPublishWithCtx( |
| 65 | aimrt::channel::PublisherRef& publisher_ref, |
| 66 | std::string_view msg_type, |
| 67 | const aimrt::channel::ContextRef& ctx_ref, |
| 68 | const std::string& msg_buf) { |
| 69 | publisher_ref.Publish(msg_type, ctx_ref, static_cast<const void*>(&msg_buf)); |
| 70 | } |
| 71 | |
| 72 | inline bool PbSubscribeWithCtx( |
| 73 | aimrt::channel::SubscriberRef& subscriber_ref, |