|
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: 0.5.0.0
Syntax public DataWriter LookupDataWriter(
string topicName
)
Public Function LookupDataWriter (
topicName As String
) As DataWriter
public:
DataWriter^ LookupDataWriter(
String^ topicName
)
member LookupDataWriter :
topicName : string -> DataWriter
Parameters
- topicName
- Type: SystemString
The Topic's name related with the DataWriter to look up.
Return Value
Type:
DataWriterThe
DataWriter, if it exists, otherwise
.
Remarks
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