30 virtual bool Init(
const std::string& topic_name) = 0;
38 return Init(topic_name);
44 virtual bool Publish(
void* message_data) = 0;
Type-erased abstract interface for a publisher middleware.
virtual bool Publish(void *message_data)=0
Serialize and write a message to the network.
virtual std::string GetTopicName() const =0
virtual bool Init(const std::string &topic_name, const QosProfile &qos)
Initialize with an explicit per-topic QoS profile (see QosProfile.h).
virtual ~IPublisherMiddleware()=default
virtual bool Init(const std::string &topic_name)=0
Initialize the underlying middleware entities.
virtual bool IsAlive() const =0
This file contains definitions of common data structures used in traffic manager.
Middleware-neutral QoS profile passed to IPublisherMiddleware::Init / ISubscriberMiddleware::Init whe...