Working with data writers.
More...
Working with data writers.
Setting up a data writer
- Create a data writer, FooDataWriter, of user data type
Foo:
MyWriterListener* writer_listener = new MyWriterListener();
}
writer_qos,
writer_listener,
if (writer == NULL) {
};
Managing instances
- Getting an instance "key" value of user data type
Foo
- Registering an instance of type
Foo
- Unregistering an instance of type
Foo
- Disposing of an instance of type
Foo
retcode = writer->
dispose(data, instance_handle);
}
Sending data
- Write instance of type
Foo
retcode = writer->
write(data, instance_handle);
}
Tearing down a data writer