Click or drag to resize

DomainParticipantLookupTopicDescription Method

Looks up an existing ITopicDescription, based on its name. The operation never blocks.

Namespace:  OpenDDSharp.DDS
Assembly:  OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax
public ITopicDescription LookupTopicDescription(
	string name
)

Parameters

name
Type: SystemString
Name of the ITopicDescription to look for.

Return Value

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

The operation LookupTopicDescription(String) may be used to locate any locally-created Topic, ContentFilteredTopic, and MultiTopic object.

Unlike FindTopic(String, Duration), the operation LookupTopicDescription(String) searches only among the locally created topics. Therefore, it should never create a new ITopicDescription. The ITopicDescription returned by LookupTopicDescription(String) does not require any extra deletion.

See Also