Click or drag to resize

Topic Class

Topic is the most basic description of the data to be published and subscribed. A Topic is identified by its name, which must be unique in the whole Domain. In addition (by virtue of implemeting ITopicDescription) it fully specifies the type of the data that can be communicated when publishing or subscribing to the Topic. Topic is the only ITopicDescription that can be used for publications and therefore associated to a DataWriter.
Inheritance Hierarchy

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.4.1.0
Syntax
public class Topic : Entity, ITopicDescription

The Topic type exposes the following members.

Properties
  NameDescription
Public propertyInstanceHandle
Gets the InstanceHandle that represents the Entity.
(Inherited from Entity.)
Public propertyName
Gets the name used to create the ITopicDescription.
Public propertyParticipant
Gets the DomainParticipant to which the ITopicDescription belongs.
Public propertyStatusChanges
Gets the list of communication statuses in the Entity that are 'triggered'. That is, the list of statuses whose value has changed since the last time the application read the status.
(Inherited from Entity.)
Public propertyStatusCondition
Allows access to the StatusCondition associated with the Entity. The returned condition can then be added to a WaitSet so that the application can wait for specific status changes that affect the Entity.
(Inherited from Entity.)
Public propertyTypeName
Gets type name used to create the ITopicDescription.
Top
Methods
  NameDescription
Public methodEnable
Enables the Entity. The enable operation is idempotent. Calling enable on an already enabled Entity returns Ok and has no effect.
(Inherited from Entity.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetInconsistentTopicStatus
This method allows the application to retrieve the InconsistentTopicStatus of the Topic.
Public methodGetListener
Allows access to the attached TopicListener.
Public methodGetQos
Gets the Topic QoS policies.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodSetListener(TopicListener)
Sets the TopicListener using the DefaultStatusMask.
Public methodSetListener(TopicListener, StatusMask)
Sets the TopicListener.
Public methodSetQos
Sets the Topic QoS policies.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also