USRP Hardware Driver and USRP Manual  Version: 003.009.002-0-gf18abe54
UHD and USRP Manual
uhd::convert::converter Class Referenceabstract

A conversion class that implements a conversion from inputs -> outputs. More...

#include <uhd/convert.hpp>

Public Types

typedef boost::shared_ptr< convertersptr
 
typedef uhd::ref_vector< void * > output_type
 
typedef uhd::ref_vector< const void * > input_type
 

Public Member Functions

virtual ~converter (void)=0
 
virtual void set_scalar (const double)=0
 Set the scale factor (used in floating point conversions) More...
 
UHD_INLINE void conv (const input_type &in, const output_type &out, const size_t num)
 The public conversion method to convert inputs -> outputs. More...
 

Detailed Description

A conversion class that implements a conversion from inputs -> outputs.

Member Typedef Documentation

◆ input_type

◆ output_type

◆ sptr

typedef boost::shared_ptr<converter> uhd::convert::converter::sptr

Constructor & Destructor Documentation

◆ ~converter()

virtual uhd::convert::converter::~converter ( void  )
pure virtual

Member Function Documentation

◆ conv()

UHD_INLINE void uhd::convert::converter::conv ( const input_type in,
const output_type out,
const size_t  num 
)
inline

The public conversion method to convert inputs -> outputs.

◆ set_scalar()

virtual void uhd::convert::converter::set_scalar ( const double  )
pure virtual

Set the scale factor (used in floating point conversions)


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