GNU Radio's RTP Package
gr::rtp::source_impl< T > Class Template Reference

#include <source_impl.h>

Inheritance diagram for gr::rtp::source_impl< T >:
gr::rtp::source< T >

Public Member Functions

 source_impl (const std::string &mcast_address, unsigned int ssrc, int in_channels=1, int out_channels=1, bool quiet=false)
 ~source_impl ()
int get_bits_per_sample () const override
 Return the number of bits per sample. the RTP stream.
int get_channels () const override
 Return the number of input channels.
void set_ssrc (unsigned int ssrc) override
unsigned int get_ssrc () const override
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)

Additional Inherited Members

Public Types inherited from gr::rtp::source< T >
typedef std::shared_ptr< source< T > > sptr
Static Public Member Functions inherited from gr::rtp::source< T >
static sptr make (const std::string &mcast_address, unsigned int ssrc, int in_channels=1, int out_channels=1, bool quiet=false)

Constructor & Destructor Documentation

◆ source_impl()

template<class T>
gr::rtp::source_impl< T >::source_impl ( const std::string & mcast_address,
unsigned int ssrc,
int in_channels = 1,
int out_channels = 1,
bool quiet = false )

◆ ~source_impl()

template<class T>
gr::rtp::source_impl< T >::~source_impl ( )

Member Function Documentation

◆ get_bits_per_sample()

template<class T>
int gr::rtp::source_impl< T >::get_bits_per_sample ( ) const
inlineoverridevirtual

Return the number of bits per sample. the RTP stream.

Implements gr::rtp::source< T >.

◆ get_channels()

template<class T>
int gr::rtp::source_impl< T >::get_channels ( ) const
inlineoverridevirtual

Return the number of input channels.

Implements gr::rtp::source< T >.

◆ get_ssrc()

template<class T>
unsigned int gr::rtp::source_impl< T >::get_ssrc ( ) const
inlineoverridevirtual

Get SSRC

Returns
current SSRC

Implements gr::rtp::source< T >.

◆ set_ssrc()

template<class T>
void gr::rtp::source_impl< T >::set_ssrc ( unsigned int ssrc)
inlineoverridevirtual

Set SSRC

Parameters
ssrcnew SSRC

Implements gr::rtp::source< T >.

◆ work()

template<class T>
int gr::rtp::source_impl< T >::work ( int noutput_items,
gr_vector_const_void_star & input_items,
gr_vector_void_star & output_items )

The documentation for this class was generated from the following file: