iox::dds::DataWriter🔗
Abstraction for DDS Data Writers. Provides the minimum functionality required for posh-dds gateway implementations.
#include <data_writer.hpp>
Inherited by iox::dds::CycloneDataWriter
Public Functions🔗
Name | |
---|---|
virtual | ~DataWriter() =default |
virtual void | connect() =0 connect Connect the DataWriter to the underlying DDS network. |
virtual void | write(iox::dds::IoxChunkDatagramHeader datagramHeader, const uint8_t const userHeaderBytes, const uint8_t const userPayloadBytes) =0 write Write the provided header and bytes on the DDS network on the topic: serviceId/instanceId/eventId |
virtual capro::IdString_t | getServiceId() const =0 getServiceId |
virtual capro::IdString_t | getInstanceId() const =0 getInstanceId |
virtual capro::IdString_t | getEventId() const =0 getEventId |
Protected Functions🔗
Name | |
---|---|
DataWriter() =default |
Public Functions Documentation🔗
function ~DataWriter🔗
virtual ~DataWriter() =default
function connect🔗
virtual void connect() =0
connect Connect the DataWriter to the underlying DDS network.
Reimplemented by: iox::dds::CycloneDataWriter::connect
function write🔗
virtual void write(
iox::dds::IoxChunkDatagramHeader datagramHeader,
const uint8_t *const userHeaderBytes,
const uint8_t *const userPayloadBytes
) =0
write Write the provided header and bytes on the DDS network on the topic: serviceId/instanceId/eventId
Parameters:
- datagramHeader with size information
- userHeaderBytes buffer with the user-header
- userPayloadBytes buffer with the user-payload
Reimplemented by: iox::dds::CycloneDataWriter::write
function getServiceId🔗
virtual capro::IdString_t getServiceId() const =0
getServiceId
Return: The ID of the service producing the bytes
Reimplemented by: iox::dds::CycloneDataWriter::getServiceId
function getInstanceId🔗
virtual capro::IdString_t getInstanceId() const =0
getInstanceId
Return: The ID of the instance of the service producing the bytes
Reimplemented by: iox::dds::CycloneDataWriter::getInstanceId
function getEventId🔗
virtual capro::IdString_t getEventId() const =0
getEventId
Return: The ID of the event producing the data
Reimplemented by: iox::dds::CycloneDataWriter::getEventId
Protected Functions Documentation🔗
function DataWriter🔗
DataWriter() =default
Updated on 31 May 2022 at 15:29:16 CEST