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 >
40 DLL_EXPORT virtual std::unique_ptr< gap_handler >
86 DLL_EXPORT std::unique_ptr< delayed_gap_handler >
94 return NDS::detail::make_unique< fixed_point_gap_handler >(
109 DLL_EXPORT std::unique_ptr< delayed_gap_handler >
117 return NDS::detail::make_unique< continuation_gap_handler >(
128 DLL_EXPORT std::unique_ptr< delayed_gap_handler >
135 return std::unique_ptr< gap_handler >(
136 NDS::detail::make_unique< abort_gap_handler >( ) );
#define DLL_EXPORT
Definition channel.h:12
A buffer holds the data contents of a channel.
Definition nds_buffer.hh:28
size_t size_type
Defines sizes when dealing with channels.
Definition nds_channel.hh:99
Definition nds_gap_handler.hh:123
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 abort_gap_handler()
Definition nds_gap_handler.hh:125
DLL_EXPORT std::unique_ptr< gap_handler > clone() const override
Definition nds_gap_handler.hh:133
DLL_EXPORT ~abort_gap_handler() override=default
Definition nds_gap_handler.hh:103
DLL_EXPORT continuation_gap_handler(const static_val default_val)
Definition nds_gap_handler.hh:105
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
DLL_EXPORT std::unique_ptr< gap_handler > clone() const override
Definition nds_gap_handler.hh:115
DLL_EXPORT ~continuation_gap_handler() override=default
Definition nds_gap_handler.hh:17
virtual ~delayed_gap_handler()=default
delayed_gap_handler()=default
Definition nds_gap_handler.hh:45
DLL_EXPORT fixed_point_gap_handler(static_val::fixed_values spec)
Definition nds_gap_handler.hh:80
DLL_EXPORT std::unique_ptr< gap_handler > clone() const override
Definition nds_gap_handler.hh:92
DLL_EXPORT ~fixed_point_gap_handler() override=default
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
static_val val
Definition nds_gap_handler.hh:99
DLL_EXPORT fixed_point_gap_handler(const static_val &val)
Definition nds_gap_handler.hh:82
Definition nds_gap_handler.hh:29
DLL_EXPORT gap_handler()=default
virtual DLL_EXPORT std::unique_ptr< gap_handler > clone() const =0
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
virtual DLL_EXPORT ~gap_handler()=default
The NDS client namespace.
Definition debug_stream.cc:18
Definition nds_gap_handler.hh:48
fixed_values
Definition nds_gap_handler.hh:58
@ ZERO_VAL
Definition nds_gap_handler.hh:59
@ NEG_INF_VAL
Definition nds_gap_handler.hh:63
@ NAN_VAL
Definition nds_gap_handler.hh:61
@ POS_INF_VAL
Definition nds_gap_handler.hh:62
@ ONE_VAL
Definition nds_gap_handler.hh:60
::int16_t int16val
Definition nds_gap_handler.hh:49
float complexival
Definition nds_gap_handler.hh:55
float complexrval
Definition nds_gap_handler.hh:54
::int64_t int64val
Definition nds_gap_handler.hh:51
::int32_t int32val
Definition nds_gap_handler.hh:50
::uint32_t uint32val
Definition nds_gap_handler.hh:56
double float64val
Definition nds_gap_handler.hh:53
float float32val
Definition nds_gap_handler.hh:52