Skip to content

iox::popo::PublisherInterface🔗

The PublisherInterface class defines the publisher interface used by the Sample class to make it generic. This allows any publisher specialization to be stored as a reference by the Sample class. It is also needed to avoid circular dependencies between Sample and Publisher. More...

#include <publisher.hpp>

Public Functions🔗

Name
virtual void publish(Sample< T, H > && sample) =0
virtual ~PublisherInterface()

Protected Functions🔗

Name
PublisherInterface() =default

Detailed Description🔗

template <typename T ,
typename H >
class iox::popo::PublisherInterface;

The PublisherInterface class defines the publisher interface used by the Sample class to make it generic. This allows any publisher specialization to be stored as a reference by the Sample class. It is also needed to avoid circular dependencies between Sample and Publisher.

Public Functions Documentation🔗

function publish🔗

virtual void publish(
    Sample< T, H > && sample
) =0

function ~PublisherInterface🔗

inline virtual ~PublisherInterface()

Protected Functions Documentation🔗

function PublisherInterface🔗

PublisherInterface() =default

Updated on 26 April 2021 at 15:31:02 CEST