OpenDDS
Snapshot(2023/04/07-19:43)
|
Implements the DDS::TopicDescription interface. More...
#include <TopicDescriptionImpl.h>
Protected Attributes | |
ACE_CString | topic_name_ |
The name of the topic. More... | |
ACE_CString | type_name_ |
The datatype of the topic. More... | |
DomainParticipantImpl * | participant_ |
The participant that creates this topic. More... | |
OpenDDS::DCPS::TypeSupport_var | type_support_ |
The type_support for this topic. More... | |
Atomic< ACE_UINT32 > | entity_refs_ |
The number of entities using this topic. More... | |
![]() | |
ACE_Atomic_Op< TAO_SYNCH_MUTEX, unsigned long > | refcount_ |
Implements the DDS::TopicDescription interface.
See the DDS specification, OMG formal/2015-04-10, for a description of the interface this class is implementing.
Definition at line 40 of file TopicDescriptionImpl.h.
OpenDDS::DCPS::TopicDescriptionImpl::TopicDescriptionImpl | ( | const char * | topic_name, |
const char * | type_name, | ||
TypeSupport_ptr | type_support, | ||
DomainParticipantImpl * | participant | ||
) |
Definition at line 19 of file TopicDescriptionImpl.cpp.
References _duplicate().
|
virtual |
Definition at line 31 of file TopicDescriptionImpl.cpp.
|
inline |
Definition at line 66 of file TopicDescriptionImpl.h.
References OpenDDS::DCPS::RcObject::_add_ref().
|
virtual |
Implements DDS::TopicDescription.
Definition at line 42 of file TopicDescriptionImpl.cpp.
References ACE_String_Base< char >::c_str(), CORBA::string_dup(), and topic_name_.
Referenced by OpenDDS::DCPS::PublisherImpl::create_datawriter(), OpenDDS::DCPS::DomainParticipantImpl::delete_topic_i(), OpenDDS::DCPS::RecorderImpl::init(), OpenDDS::DCPS::DataReaderImpl::init(), and OpenDDS::DCPS::TopicMonitorImpl::report().
|
virtual |
Implements DDS::TopicDescription.
Definition at line 48 of file TopicDescriptionImpl.cpp.
References participant_.
Referenced by OpenDDS::DCPS::DomainParticipantImpl::delete_topic_i(), and OpenDDS::DCPS::TopicMonitorImpl::report().
|
virtual |
Implements DDS::TopicDescription.
Definition at line 36 of file TopicDescriptionImpl.cpp.
References ACE_String_Base< char >::c_str(), CORBA::string_dup(), and type_name_.
Referenced by OpenDDS::DCPS::DataReaderImpl::init(), and OpenDDS::DCPS::TopicMonitorImpl::report().
OpenDDS::DCPS::TypeSupport_ptr OpenDDS::DCPS::TopicDescriptionImpl::get_type_support | ( | ) |
This method is not defined in the IDL and is defined for internal use. Return the type support of the topic.
Definition at line 54 of file TopicDescriptionImpl.cpp.
References OPENDDS_END_VERSIONED_NAMESPACE_DECL, and type_support_.
Referenced by OpenDDS::DCPS::SubscriberImpl::create_datareader(), OpenDDS::DCPS::PublisherImpl::create_datawriter(), OpenDDS::DCPS::QueryConditionImpl::get_type_support(), OpenDDS::DCPS::MultiTopicDataReaderBase::init(), OpenDDS::DCPS::DataWriterImpl::init(), and OpenDDS::DCPS::MultiTopicDataReaderBase::metaStructFor().
|
inline |
Definition at line 62 of file TopicDescriptionImpl.h.
Referenced by OpenDDS::DCPS::DomainParticipantImpl::delete_contentfilteredtopic(), OpenDDS::DCPS::DomainParticipantImpl::delete_multitopic(), and OpenDDS::DCPS::DomainParticipantImpl::delete_topic_i().
|
inline |
Definition at line 71 of file TopicDescriptionImpl.h.
References OpenDDS::DCPS::RcObject::_remove_ref().
|
protected |
The number of entities using this topic.
Definition at line 89 of file TopicDescriptionImpl.h.
|
protected |
The participant that creates this topic.
Definition at line 83 of file TopicDescriptionImpl.h.
Referenced by OpenDDS::DCPS::TopicImpl::enable(), OpenDDS::DCPS::TopicImpl::get_instance_handle(), get_participant(), OpenDDS::DCPS::TopicImpl::inconsistent_topic(), and OpenDDS::DCPS::TopicImpl::set_qos().
|
protected |
The name of the topic.
Definition at line 78 of file TopicDescriptionImpl.h.
Referenced by OpenDDS::DCPS::TopicImpl::enable(), get_name(), and OpenDDS::DCPS::TopicImpl::topic_name().
|
protected |
The datatype of the topic.
Definition at line 80 of file TopicDescriptionImpl.h.
Referenced by OpenDDS::DCPS::TopicImpl::enable(), get_type_name(), and OpenDDS::DCPS::TopicImpl::type_name().
|
protected |
The type_support for this topic.
Definition at line 86 of file TopicDescriptionImpl.h.
Referenced by OpenDDS::DCPS::TopicImpl::check_data_representation(), OpenDDS::DCPS::TopicImpl::enable(), and get_type_support().