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

Method Init

src/interface/aimrt_module_cpp_interface/context/op_sub.h:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53
54template <class T>
55res::Subscriber<T> OpSub::Init(std::string_view topic_name) {
56 auto [subscriber, channel_ctx] = DoInit<T>(topic_name);
57 channel_ctx.sub_f = CreateSubscribeFunction<T>();
58 return subscriber;
59}
60
61} // namespace aimrt::context

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected