MCPcopy Create free account
hub / github.com/AimRT/AimRT / PbPublishWithCtx

Function PbPublishWithCtx

src/runtime/python_runtime/export_channel.h:64–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64inline 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
72inline bool PbSubscribeWithCtx(
73 aimrt::channel::SubscriberRef& subscriber_ref,

Callers

nothing calls this directly

Calls 1

PublishMethod · 0.45

Tested by

no test coverage detected