10 #ifndef RTI_RECORDING_STORAGE_STORAGESTREAMWRITER_HPP_
11 #define RTI_RECORDING_STORAGE_STORAGESTREAMWRITER_HPP_
15 #include "dds/dds.hpp"
17 #include "rti/routing/detail/ForwarderUtils.hpp"
19 namespace rti {
namespace recording {
namespace storage {
31 typedef void* SamplePtr;
32 typedef void* InfoPtr;
51 const std::vector<SamplePtr>& sample_seq,
52 const std::vector<InfoPtr>& info_seq) = 0;
64 template <
typename Data,
typename Info>
84 const std::vector<SamplePtr>& sample_seq,
85 const std::vector<InfoPtr>& info_seq)
87 RTI_ROUTING_SAMPLE_VECTOR_COPY_PTRS(sample_seq_, sample_seq);
88 RTI_ROUTING_SAMPLE_VECTOR_COPY_PTRS(info_seq_, info_seq);
90 store(sample_seq_, info_seq_);
99 const std::vector<Data *>& sample_seq,
100 const std::vector<Info *>& info_seq) = 0;
110 std::vector<Data *> sample_seq_;
111 std::vector<Info *> info_seq_;
121 typedef TStorageStreamWriter<
122 dds::core::xtypes::DynamicData,