writer.write(data);
writer.write(data, timestamp);
writer.write(data, handle);
writer.write(data, handle, timestamp);
std::vector<Foo> samples(3,
Foo());
writer.write(samples.begin(), samples.end());
writer.write(samples.begin(), samples.end(), timestamp);
std::vector<dds::core::InstanceHandle> handles(
writer.write(samples.begin(), samples.end(),
handles.begin(), handles.end());
writer.write(samples.begin(), samples.end(),
handles.begin(), handles.end(),
timestamp);
<< std::make_pair(
Foo(3, 4), timestamp)
<< std::make_pair(
Foo(5, 6), handle);