RMVL  2.4.0-dev
Robotic Manipulation and Vision Library
载入中...
搜索中...
未找到
rm::lpss::Subscriber< MsgType > 模板类 参考

订阅者代理 更多...

#include <rmvl/lpss.hpp>

rm::lpss::Subscriber< MsgType > 的协作图:

Public 成员函数

bool invalid () const noexcept
 判断订阅者是否无效

详细描述

template<typename MsgType>
class rm::lpss::Subscriber< MsgType >

订阅者代理

模板参数
MsgType消息类型
  • 用户需使用 lpss::NodecreateSubscriber 方法创建订阅者
  • 订阅者可使用 subscribe 方法 重新 订阅指定话题的消息
  • 在创建订阅者后,自动注册到本地通信端点,并向所有通过 RNDP 发现的节点发送 REDP 消息

成员函数说明

◆ invalid()

template<typename MsgType>
bool rm::lpss::Subscriber< MsgType >::invalid ( ) const
inlinenoexcept

判断订阅者是否无效