1 #ifndef NDS_REQUEST_FRAGMENT_HH
2 #define NDS_REQUEST_FRAGMENT_HH
6 #include "nds_availability.hh"
12 struct request_fragment
17 typedef std::vector< buffer* > working_buffers;
18 typedef simple_segment_list_type time_span_type;
20 channel::channel_names_type names;
21 working_buffers buffers;
22 time_span_type time_spans;
24 bool is_compatible(
const time_span_type& avail )
const;
26 bool push_back_if(
const std::string& name,
28 buffer* dest_buffer );
30 void bulk_set(
const buffer::channel_names_type& names,
31 const working_buffers& dest_buffers,
32 buffer::gps_second_type gps_start,
33 buffer::gps_second_type gps_stop );
36 typedef std::vector< request_fragment > request_fragments_type;
40 #endif // NDS_CONNECTION_REQUEST_HH