Class astutedds::dcps::Topic

ClassList > astutedds > dcps > Topic

Represents a typed data stream within a domain.

  • #include <dcps.hpp>

Inherits the following classes: astutedds::dcps::TopicDescription

Public Functions

Type Name
Topic (const std::string & name, const std::string & type_name, DomainParticipant * participant)
virtual const char * get_name () override const
Return the topic name (C-string, zero-copy)
const TopicQos & get_qos () const
virtual const char * get_type_name () override const
Return the registered type name (C-string, zero-copy)
const std::string & name () const
DomainParticipant * participant () const
void set_qos (const TopicQos & qos)
const std::string & type_name () const
~Topic () override

Public Functions inherited from astutedds::dcps::TopicDescription

See astutedds::dcps::TopicDescription

Type Name
virtual const char * get_name () const = 0
Return the topic name (C-string, zero-copy)
virtual const char * get_type_name () const = 0
Return the registered type name (C-string, zero-copy)
virtual ~TopicDescription () = default

Public Functions Documentation

function Topic

astutedds::dcps::Topic::Topic (
    const std::string & name,
    const std::string & type_name,
    DomainParticipant * participant
) 

function get_name

Return the topic name (C-string, zero-copy)

inline virtual const char * astutedds::dcps::Topic::get_name () override const

Implements astutedds::dcps::TopicDescription::get_name


function get_qos

inline const TopicQos & astutedds::dcps::Topic::get_qos () const

function get_type_name

Return the registered type name (C-string, zero-copy)

inline virtual const char * astutedds::dcps::Topic::get_type_name () override const

Implements astutedds::dcps::TopicDescription::get_type_name


function name

inline const std::string & astutedds::dcps::Topic::name () const

function participant

inline DomainParticipant * astutedds::dcps::Topic::participant () const

function set_qos

inline void astutedds::dcps::Topic::set_qos (
    const TopicQos & qos
) 

function type_name

inline const std::string & astutedds::dcps::Topic::type_name () const

function ~Topic

astutedds::dcps::Topic::~Topic () override


The documentation for this class was generated from the following file include/astutedds/dcps/dcps.hpp