1#include "modulo_core/communication/SubscriptionInterface.hpp"
6 : message_pair_(std::move(message_pair)) {}
13 if (message_pair ==
nullptr) {
SubscriptionInterface(std::shared_ptr< MessagePairInterface > message_pair=nullptr)
Constructor with the message pair.
void set_message_pair(const std::shared_ptr< MessagePairInterface > &message_pair)
Set the pointer to the message pair of the SubscriptionInterface.
std::shared_ptr< MessagePairInterface > message_pair_
The pointer to the stored MessagePair instance.
std::shared_ptr< MessagePairInterface > get_message_pair() const
Get the pointer to the message pair of the SubscriptionInterface.
An exception class to notify that a certain pointer is null.
Modulo Core communication module for handling messages on publication and subscription interfaces.