Safe DDS
eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders > Class Template Reference

Topic that provides static memory to BaseTopic. More...

#include <StaticTopic.hpp>

Public Member Functions

 StaticTopic (BaseDomainParticipant &domain_participant, const memory::IStringView &topic_name, const memory::IStringView &type_name, const TopicQos &qos, TopicListener *listener, const StatusMask &mask) noexcept
 StaticTopic constructor. More...
 
virtual ~StaticTopic () noexcept=default
 Virtual destructor. More...
 
 StaticTopic (const StaticTopic &) noexcept=delete
 Copy deleted. More...
 
 StaticTopic (StaticTopic &&) noexcept=delete
 Movement deleted. More...
 
StaticTopicoperator= (const StaticTopic &) noexcept=delete
 Copy operator deleted. More...
 
StaticTopicoperator= (StaticTopic &&) noexcept=delete
 Movement operator deleted due private references. More...
 
ReturnCode enable () noexcept override
 

Detailed Description

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
class eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >

Topic that provides static memory to BaseTopic.

Constructor & Destructor Documentation

◆ StaticTopic() [1/3]

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::StaticTopic ( BaseDomainParticipant &  domain_participant,
const memory::IStringView topic_name,
const memory::IStringView type_name,
const TopicQos qos,
TopicListener listener,
const StatusMask mask 
)
inlinenoexcept

StaticTopic constructor.

Parameters
domain_participantBaseDomainParticipant.
topic_nameTopic name.
type_nameTopic type name.
qosTopic QoS.
listenerTopic listener.
maskStatus mask.

◆ ~StaticTopic()

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
virtual eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::~StaticTopic ( )
virtualdefaultnoexcept

Virtual destructor.

◆ StaticTopic() [2/3]

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::StaticTopic ( const StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders > &  )
deletenoexcept

Copy deleted.

◆ StaticTopic() [3/3]

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::StaticTopic ( StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders > &&  )
deletenoexcept

Movement deleted.

Member Function Documentation

◆ enable()

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
ReturnCode eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::enable ( )
inlineoverridenoexcept

◆ operator=() [1/2]

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
StaticTopic& eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::operator= ( const StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders > &  )
deletenoexcept

Copy operator deleted.

◆ operator=() [2/2]

template<uint32_t MaxSamplesInTopic, uint32_t MaxSerializedSize, uint32_t MaxLocalReaders>
StaticTopic& eprosima::safedds::dds::StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders >::operator= ( StaticTopic< MaxSamplesInTopic, MaxSerializedSize, MaxLocalReaders > &&  )
deletenoexcept

Movement operator deleted due private references.


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