|
PublisherCreateDataWriter Method (Topic, DataWriterQos, DataWriterListener, StatusMask)
|
Namespace:
OpenDDSharp.DDS
Assembly:
OpenDDSharp (in OpenDDSharp.dll) Version: 0.5.0.0
Syntax public DataWriter CreateDataWriter(
Topic topic,
DataWriterQos qos,
DataWriterListener listener,
StatusMask statusMask
)
Public Function CreateDataWriter (
topic As Topic,
qos As DataWriterQos,
listener As DataWriterListener,
statusMask As StatusMask
) As DataWriter
public:
DataWriter^ CreateDataWriter(
Topic^ topic,
DataWriterQos^ qos,
DataWriterListener^ listener,
StatusMask statusMask
)
member CreateDataWriter :
topic : Topic *
qos : DataWriterQos *
listener : DataWriterListener *
statusMask : StatusMask -> DataWriter
Parameters
- topic
- Type: OpenDDSharp.DDSTopic
The Topic that the DataWriter will be associated with. - qos
- Type: OpenDDSharp.DDSDataWriterQos
The DataWriterQos policies to be used for creating the new DataWriter. - listener
- Type: OpenDDSharp.OpenDDS.DCPSDataWriterListener
The DataWriterListener to be attached to the newly created DataWriter. - statusMask
- Type: OpenDDSharp.DDSStatusMask
The StatusMask of which status changes the listener should be notified.
Return Value
Type:
DataWriterThe newly created
DataWriter on success, otherwise
.
Remarks See Also