Template Struct RosMessageSharedPtr

Struct Documentation

template<class M, class A = std::allocator<void>>
struct RosMessageSharedPtr

Public Types

using AllocatorType = A
using FilterType = typename M::ConstSharedPtr
using MessageType = M
using Publisher = rclcpp::Publisher<MessageType, AllocatorType>
using PublisherOptions = rclcpp::PublisherOptionsWithAllocator<AllocatorType>

Public Static Functions

static inline MessageType::SharedPtr create()
template<class PublisherT, class ...Ms>
static inline void publish(PublisherT &pub, const Ms&... ms)
static inline FilterType subscriberToFilter(const typename M::ConstSharedPtr &m)
static inline FilterType subscriberToFilter(typename M::UniquePtr &m)