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

Method Init

src/interface/aimrt_module_cpp_interface/context/op_pub.h:45–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43
44template <class T>
45res::Publisher<T> OpPub::Init(std::string_view topic_name) {
46 auto [channel, channel_ctx] = DoInit<T>(topic_name);
47 channel_ctx.pub_f = CreatePublishFunction<T>();
48 return channel;
49}
50
51} // namespace aimrt::context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected