34 const std::string& topic_name,
36 bool* new_message_flag) = 0;
43 const std::string& topic_name,
45 bool* new_message_flag,
48 return Init(topic_name, message_ptr, new_message_flag);
Type-erased abstract interface for a subscriber middleware.
virtual bool Init(const std::string &topic_name, void *message_ptr, bool *new_message_flag)=0
Initialize the underlying middleware entities.
virtual bool IsAlive() const =0
virtual bool Init(const std::string &topic_name, void *message_ptr, bool *new_message_flag, const QosProfile &qos)
Initialize with an explicit per-topic QoS profile (see QosProfile.h).
virtual std::string GetTopicName() const =0
virtual ~ISubscriberMiddleware()=default
This file contains definitions of common data structures used in traffic manager.
Middleware-neutral QoS profile passed to IPublisherMiddleware::Init / ISubscriberMiddleware::Init whe...