1 #ifndef __NDS_GAP_HANDLER_HH__
2 #define __NDS_GAP_HANDLER_HH__
25 virtual void operator( )( ) = 0;
35 DLL_EXPORT virtual std::unique_ptr< delayed_gap_handler >
37 buffer::size_type start_sample_offset,
38 buffer::size_type end_sample_offset )
const = 0;
40 DLL_EXPORT virtual std::unique_ptr< gap_handler >
86 DLL_EXPORT std::unique_ptr< delayed_gap_handler >
88 buffer::size_type start_sample_offset,
89 buffer::size_type end_sample_offset )
const override;
94 return NDS::detail::make_unique< fixed_point_gap_handler >(
109 DLL_EXPORT std::unique_ptr< delayed_gap_handler >
111 buffer::size_type start_sample_offset,
112 buffer::size_type end_sample_offset )
const override;
117 return NDS::detail::make_unique< continuation_gap_handler >(
128 DLL_EXPORT std::unique_ptr< delayed_gap_handler >
130 buffer::size_type start_sample_offset,
131 buffer::size_type end_sample_offset )
const override;
135 return std::unique_ptr< gap_handler >(
136 NDS::detail::make_unique< abort_gap_handler >( ) );
142 #endif // __NDS_GAP_HANDLER_HH__
virtual DLL_EXPORT std::unique_ptr< delayed_gap_handler > fill_gap(buffer &cur_buffer, buffer::size_type start_sample_offset, buffer::size_type end_sample_offset) const =0
float complexival
Definition: nds_gap_handler.hh:55
Definition: nds_gap_handler.hh:60
::int16_t int16val
Definition: nds_gap_handler.hh:49
DLL_EXPORT static_val(::int16_t int16val,::int32_t int32val,::int64_t int64val, float float32val, double float64val, float complexrval, float complexival,::uint32_t uint32val)
Definition: nds_static_val.cc:34
DLL_EXPORT std::unique_ptr< gap_handler > clone() const override
Definition: nds_gap_handler.hh:115
DLL_EXPORT abort_gap_handler()
Definition: nds_gap_handler.hh:125
Definition: nds_gap_handler.hh:61
DLL_EXPORT std::unique_ptr< gap_handler > clone() const override
Definition: nds_gap_handler.hh:133
float complexrval
Definition: nds_gap_handler.hh:54
float float32val
Definition: nds_gap_handler.hh:52
Definition: nds_gap_handler.hh:63
::int64_t int64val
Definition: nds_gap_handler.hh:51
DLL_EXPORT gap_handler()=default
DLL_EXPORT ~continuation_gap_handler() override=default
::int32_t int32val
Definition: nds_gap_handler.hh:50
DLL_EXPORT fixed_point_gap_handler(static_val::fixed_values spec)
Definition: nds_gap_handler.hh:80
Definition: nds_gap_handler.hh:59
Definition: nds_gap_handler.hh:47
Definition: nds_gap_handler.hh:62
static_val val
Definition: nds_gap_handler.hh:99
Definition: nds_gap_handler.hh:102
#define DLL_EXPORT
Definition: channel.h:12
DLL_EXPORT std::unique_ptr< delayed_gap_handler > fill_gap(buffer &cur_buffer, buffer::size_type start_sample_offset, buffer::size_type end_sample_offset) const override
Definition: nds_gap_handler.cc:194
virtual DLL_EXPORT std::unique_ptr< gap_handler > clone() const =0
double float64val
Definition: nds_gap_handler.hh:53
delayed_gap_handler()=default
Definition: nds_gap_handler.hh:16
DLL_EXPORT std::unique_ptr< gap_handler > clone() const override
Definition: nds_gap_handler.hh:92
Definition: nds_gap_handler.hh:44
Definition: nds_gap_handler.hh:28
DLL_EXPORT ~fixed_point_gap_handler() override=default
fixed_values
Definition: nds_gap_handler.hh:58
Definition: nds_gap_handler.hh:122
DLL_EXPORT std::unique_ptr< delayed_gap_handler > fill_gap(buffer &cur_buffer, buffer::size_type start_sample_offset, buffer::size_type end_sample_offset) const override
Definition: nds_gap_handler.cc:173
DLL_EXPORT std::unique_ptr< delayed_gap_handler > fill_gap(buffer &cur_buffer, buffer::size_type start_sample_offset, buffer::size_type end_sample_offset) const override
Definition: nds_gap_handler.cc:163
::uint32_t uint32val
Definition: nds_gap_handler.hh:56
virtual DLL_EXPORT ~gap_handler()=default
DLL_EXPORT continuation_gap_handler(const static_val default_val)
Definition: nds_gap_handler.hh:105
DLL_EXPORT fixed_point_gap_handler(const static_val &val)
Definition: nds_gap_handler.hh:82
DLL_EXPORT ~abort_gap_handler() override=default
virtual ~delayed_gap_handler()=default