11 #ifndef RTI_ROUTING_ADAPTER_STREAM_WRITER_HPP_
12 #define RTI_ROUTING_ADAPTER_STREAM_WRITER_HPP_
16 #include <rti/routing/UpdatableEntity.hpp>
17 #include <rti/routing/detail/ForwarderUtils.hpp>
19 namespace rti {
namespace routing {
namespace adapter {
40 typedef void* SamplePtr;
41 typedef void* InfoPtr;
65 const std::vector<SamplePtr>& sample_seq,
66 const std::vector<InfoPtr>& info_seq) = 0;
87 template <
typename Data,
typename Info>
108 const std::vector<SamplePtr>& sample_seq,
109 const std::vector<InfoPtr>& info_seq) RTI_FINAL
111 RTI_ROUTING_SAMPLE_VECTOR_COPY_PTRS(sample_seq_, sample_seq);
112 RTI_ROUTING_SAMPLE_VECTOR_COPY_PTRS(info_seq_, info_seq);
114 return write(sample_seq_, info_seq_);
123 const std::vector<Data*>& sample_seq,
124 const std::vector<Info*>& info_seq) = 0;
134 std::vector<Data*> sample_seq_;
135 std::vector<Info*> info_seq_;
146 typedef TStreamWriter<dds::core::xtypes::DynamicData, dds::sub::SampleInfo>
151 #endif // RTI_ROUTING_ADAPTER_STREAM_WRITER_HPP_