|
DDS_Bridge
一个基于Fast DDS的DDS桥接库
|
Represents a DDS publisher. 更多...
#include <publisher.hpp>
Public 类型 | |
| using | MsgT = typename MsgPubSubType::type |
| Message type for Publisher. | |
| using | SharedPtr = std::shared_ptr<Publisher<MsgPubSubType>> |
| Shared pointer type for Publisher. | |
Public 成员函数 | |
| Publisher (std::shared_ptr< Node > node, const std::string &topic_name, int qos_depth) | |
| Construct a new Publisher object, it is recommended to use the create_publisher() method of the Node class instead. | |
| void | publish (const typename MsgPubSubType::type &msg) |
| Publish a message. | |
Represents a DDS publisher.
| MsgPubSubType | The message type used for publishing. |
|
inline |
|
inline |
Publish a message.
| msg | The message to publish. |