Click or drag to resize

PublisherLookupDataWriter Method

Gets a previously created DataWriter belonging to the Publisher that is attached to a Topic with a matching topic name. If no such DataWriter exists, the operation will return .

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version:
public DataWriter LookupDataWriter(
	string topicName


Type: SystemString
The Topic's name related with the DataWriter to look up.

Return Value

Type: DataWriter
The DataWriter, if it exists, otherwise .
If multiple DataWriter attached to the Publisher satisfy the topic name condition, then the operation will return one of them. It is not specified which one.
See Also