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

Function ExportChannelHandleRef

src/runtime/python_runtime/export_channel.h:124–133  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

122}
123
124inline void ExportChannelHandleRef(pybind11::object m) {
125 using aimrt::channel::ChannelHandleRef;
126
127 pybind11::class_<ChannelHandleRef>(std::move(m), "ChannelHandleRef")
128 .def(pybind11::init<>())
129 .def("__bool__", &ChannelHandleRef::operator bool)
130 .def("GetPublisher", &ChannelHandleRef::GetPublisher)
131 .def("GetSubscriber", &ChannelHandleRef::GetSubscriber)
132 .def("MergeSubscribeContextToPublishContext", &ChannelHandleRef::MergeSubscribeContextToPublishContext);
133}
134
135#ifdef AIMRT_BUILD_WITH_ROS2
136

Callers 1

PYBIND11_MODULEFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected