MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / write_sample

Function write_sample

tests/DCPS/XTypes/Publisher.cpp:28–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26
27template <typename Sample>
28void write_sample(const TypeSupport_var& ts, const DataWriter_var& dw, const Sample& sample)
29{
30 typedef typename OpenDDS::DCPS::DDSTraits<Sample>::DataWriterType DataWriter;
31 typename DataWriter::_var_type typed_dw = DataWriter::_narrow(dw);
32 write_sample_i(ts, typed_dw, sample);
33}
34
35class DynamicWriter {
36public:

Callers 9

write_w_timestampMethod · 0.85
write_kf_vf_structFunction · 0.85
write_kf_structFunction · 0.85
write_kf_af_structFunction · 0.85
write_unionFunction · 0.85
write_trim_structFunction · 0.85

Calls 1

write_sample_iFunction · 0.85

Tested by

no test coverage detected