rad
2.0.0
|
#include <publisher.hpp>
Public Member Functions | |
Publisher (const elt::mal::Uri &uri, const std::optional< elt::mal::Mal::Properties > mal_properties={}) | |
~Publisher () | |
std::shared_ptr< TOPIC_TYPE > | CreateTopic () const |
void | Publish (const TOPIC_TYPE &topic) |
Publisher (const Publisher &)=delete | |
Publisher & | operator= (const Publisher &)=delete |
Publisher (const elt::mal::Uri &uri, const std::optional< elt::mal::Mal::Properties > mal_properties={}) | |
~Publisher () | |
std::shared_ptr< TOPIC_TYPE > | CreateTopic () const |
void | Publish (const TOPIC_TYPE &topic) |
Publisher (const Publisher &)=delete | |
Publisher & | operator= (const Publisher &)=delete |
Publisher (const elt::mal::Uri &uri, const std::optional< elt::mal::Mal::Properties > mal_properties={}) | |
~Publisher () | |
std::shared_ptr< TOPIC_TYPE > | CreateTopic () const |
void | Publish (const TOPIC_TYPE &topic) |
Publisher (const Publisher &)=delete | |
Publisher & | operator= (const Publisher &)=delete |
This class can be used to publish topics of a given type.
TOPIC_TYPE | Type of the topic to be published. |
TOPIC_TYPE = defined in the interface TOPIC_NAME = defined in the URI
|
inline |
This constructor creates a publisher for a given topic type.
uri | Topic URI. |
mal_properties | QoS for the topic. |
|
inline |
Destructor.
|
delete |
|
inline |
This constructor creates a publisher for a given topic type.
uri | Topic URI. |
mal_properties | QoS for the topic. |
|
inline |
Destructor.
|
delete |
|
inline |
This constructor creates a publisher for a given topic type.
uri | Topic URI. |
mal_properties | QoS for the topic. |
|
inline |
Destructor.
|
delete |
|
inline |
This method creates a topic from a given topic type.
TOPIC_TYPE | Type of the topic. |
|
inline |
This method creates a topic from a given topic type.
TOPIC_TYPE | Type of the topic. |
|
inline |
This method creates a topic from a given topic type.
TOPIC_TYPE | Type of the topic. |
|
delete |
|
delete |
|
delete |
|
inline |
This method publishes a given topic.
topic | Topic to publish. |
|
inline |
This method publishes a given topic.
topic | Topic to publish. |
|
inline |
This method publishes a given topic.
topic | Topic to publish. |