18 #ifndef INCLUDED_LIBUHD_TRANSPORT_MUXED_ZERO_COPY_IF_HPP 19 #define INCLUDED_LIBUHD_TRANSPORT_MUXED_ZERO_COPY_IF_HPP 23 #include <boost/function.hpp> 24 #include <boost/noncopyable.hpp> 27 namespace uhd {
namespace transport {
40 typedef boost::shared_ptr<muxed_zero_copy_if>
sptr;
Definition: muxed_zero_copy_if.hpp:38
boost::shared_ptr< zero_copy_if > sptr
Definition: zero_copy.hpp:154
virtual ~muxed_zero_copy_if()
virtual dtor
Definition: muxed_zero_copy_if.hpp:55
Definition: build_info.hpp:25
boost::function< uint32_t(void *buff, size_t size)> stream_classifier_fn
Definition: muxed_zero_copy_if.hpp:52
virtual size_t get_num_dropped_frames() const =0
Get number of frames dropped due to unregistered streams.
virtual zero_copy_if::sptr make_stream(const uint32_t stream_num)=0
Make a virtual transport for the specified stream number.
boost::shared_ptr< muxed_zero_copy_if > sptr
Definition: muxed_zero_copy_if.hpp:40
static sptr make(zero_copy_if::sptr base_xport, stream_classifier_fn classify_fn, size_t max_streams)
Make a new demuxer from a transport and parameters.
virtual void remove_stream(const uint32_t stream_num)=0
Unregister the stream number. All packets destined to the stream will be dropped. ...