RTI Connext C# API  6.1.0
Topic< T > Class Template Reference

The most basic description of the data to be published and subscribed. More...

Inheritance diagram for Topic< T >:
Entity IAnyTopic ITopicDescription

Public Member Functions

override string ToString ()
 Displays basic information about this topic More...
 
override void ResetEvents (StatusMask eventsToRemove)
 Stop notifying of events and remove their event handlers More...
 
- Public Member Functions inherited from Entity
void Enable ()
 Enables this Entity (by default entities are automatically enabled after creation) More...
 
EntityLock Lock ()
 Locks the Entity using its internal lock. More...
 
void Dispose ()
 Releases the resources used by this Entity and disposes its contained entities as well (if any). More...
 

Properties

TopicQos Qos [get, set]
 Get or change the QoS of this DomainParticipant. More...
 
DomainParticipant DomainParticipant [get]
 The DomainParticipant that contains this topic. More...
 
string Name [get]
 The name given to this topic More...
 
string TypeName [get]
 The name of the type associated with this topic. More...
 
InconsistentTopicStatus InconsistentTopicStatus [get]
 Retrieve the StatusMask.InconsistentTopic status. More...
 
InconsistentTopicEventHandler InconsistentTopic
 Event triggered when the Rti.Dds.Core.Status.StatusMask.InconsistentTopic status changes. More...
 
- Properties inherited from Entity
InstanceHandle InstanceHandle [get]
 Gets the InstanceHandle that identifies this Entity More...
 
StatusMask StatusChanges [get]
 Retrieves the list of communication statuses in this Entity that are triggered. More...
 
StatusCondition StatusCondition [get]
 Gets the StatusCondition associated with this Entity. More...
 
bool Enabled [get]
 Indicates whether this Entity is enabled. More...
 
bool Disposed [get]
 Indicates whether this Entity has already been disposed. More...
 
- Properties inherited from IAnyTopic
InconsistentTopicStatus InconsistentTopicStatus [get]
 Retrieve the StatusMask.InconsistentTopic status. More...
 
- Properties inherited from ITopicDescription
DomainParticipant DomainParticipant [get]
 The DomainParticipant that created this topic More...
 
string Name [get]
 The name given to this topic More...
 
string TypeName [get]
 The name of the type associated with this topic. More...
 

Additional Inherited Members

- Events inherited from IAnyTopic
InconsistentTopicEventHandler InconsistentTopic
 Event triggered when the Rti.Dds.Core.Status.StatusMask.InconsistentTopic status changes. More...
 

Detailed Description

The most basic description of the data to be published and subscribed.

Template Parameters
TThe type for this topic. Valid types are:

The full documentation is available in the C API: DDS_Topic

Member Function Documentation

◆ ResetEvents()

override void ResetEvents ( StatusMask  eventsToRemove)
virtual

Stop notifying of events and remove their event handlers

Parameters
eventsToRemoveSelects which events will stop receiving notifications. Use StatusMask.All to remove all event handlers.

Implements Entity.

◆ ToString()

override string ToString ( )

Displays basic information about this topic

Property Documentation

◆ DomainParticipant

The DomainParticipant that contains this topic.

◆ InconsistentTopic

InconsistentTopicEventHandler InconsistentTopic
addremove

Event triggered when the Rti.Dds.Core.Status.StatusMask.InconsistentTopic status changes.

◆ InconsistentTopicStatus

Retrieve the StatusMask.InconsistentTopic status.

The full documentation is available in the C API: DDS_Topic_get_inconsistent_topic_status

◆ Name

string Name
get

The name given to this topic

◆ Qos

TopicQos Qos
getset

Get or change the QoS of this DomainParticipant.

The full documentation is available in the C API: DDS_DomainParticipant_set_qos

◆ TypeName

string TypeName
get

The name of the type associated with this topic.