Click or drag to resize

SubscriberLookupDataReader Method

Gets a previously-created DataReader belonging to the Subscriber that is attached to a Topic with a matching topicName. If no such DataReader exists, the operation will return .

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public DataReader LookupDataReader(
	string topicName
)

Parameters

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

Return Value

Type: DataReader
The DataReader, if it exists, otherwise .
Remarks

If multiple DataReaders attached to the Subscriber satisfy this condition, then the operation will return one of them. It is not specified which one.

The use of this operation on the built-in Subscriber allows access to the built-in DataReader entities for the built-in topics

See Also