ddt 1.2.1
Loading...
Searching...
No Matches
List of all members
ddt::DdtPublisher Class Reference

#include <ddtPublisher.hpp>

 DdtPublisher ()
 
virtual ~DdtPublisher ()
 
static std::unique_ptr< mal::ps::InstancePublisher< datatransfer::DataPacket >, std::default_delete< mal::ps::InstancePublisher< datatransfer::DataPacket > > > CreatePublisher (const std::string &data_stream_identifier, const std::string &publishing_uri, const int32_t latency, const int32_t deadline, DdtLogger *logger)
 
static std::unique_ptr< mal::ps::InstancePublisher< datatransfer::NotificationSample >, std::default_delete< mal::ps::InstancePublisher< datatransfer::NotificationSample > > > CreateNotifier (const std::string &data_stream_identifier, const int32_t latency, const int32_t deadline, const int32_t notification_port, DdtLogger *logger)
 

Detailed Description

This class provides the functionality to create MAL Publishers used for publishing data packets or for notifying other components that new data is available.

Constructor & Destructor Documentation

◆ DdtPublisher()

DdtPublisher::DdtPublisher ( )
default

Constructor

◆ ~DdtPublisher()

DdtPublisher::~DdtPublisher ( )
virtualdefault

Destructor

Member Function Documentation

◆ CreateNotifier()

std::unique_ptr< mal::ps::InstancePublisher< datatransfer::NotificationSample >, std::default_delete< mal::ps::InstancePublisher< datatransfer::NotificationSample > > > DdtPublisher::CreateNotifier ( const std::string & data_stream_identifier,
const int32_t latency,
const int32_t deadline,
const int32_t notification_port,
DdtLogger * logger )
static

Creates a MAL publisher used for notifications.

Parameters
data_stream_identifierThe data stream identifier.
latencyA MAL QoS parameter. Shall be the maximum time a sample may remain in-transit between the publisher and subscriber in [ms].
deadlineA MAL QoS parameter. Shall be the maximum age of a sample in [s].
notification_portThe port used for notifications.
loggerA DDT logger object (no transfer of ownership).

◆ CreatePublisher()

std::unique_ptr< mal::ps::InstancePublisher< datatransfer::DataPacket >, std::default_delete< mal::ps::InstancePublisher< datatransfer::DataPacket > > > DdtPublisher::CreatePublisher ( const std::string & data_stream_identifier,
const std::string & publishing_uri,
const int32_t latency,
const int32_t deadline,
DdtLogger * logger )
static

Creates a MAL publisher used for publishing data.

Parameters
data_stream_identifierThe data stream identifier.
publishing_uriThe publishing URI.
latencyA MAL QoS parameter. Shall be the maximum time a sample may remain in-transit between the publisher and subscriber in [ms].
deadlineA MAL QoS parameter. Shall be the maximum age of a sample in [s].
loggerA DDT logger object (no transfer of ownership).

The documentation for this class was generated from the following files: