USRP Hardware Driver and USRP Manual  Version: 003.008.002-0-ge9d11b35
UHD and USRP Manual
uhd::niusrprio::niusrprio_session Class Reference

#include <uhd/transport/nirio/niusrprio_session.h>

Inheritance diagram for uhd::niusrprio::niusrprio_session:

Public Types

typedef boost::shared_ptr< niusrprio_sessionsptr
 
typedef uhd::usrprio_rpc::usrprio_device_info device_info
 
typedef uhd::usrprio_rpc::usrprio_device_info_vtr device_info_vtr
 

Public Member Functions

 niusrprio_session (const std::string &resource_name, const std::string &port_name)
 
virtual ~niusrprio_session ()
 
nirio_status open (nifpga_lvbitx::sptr lvbitx, bool force_download=false)
 
void close (bool skip_reset=false)
 
nirio_status reset ()
 
template<typename data_t >
nirio_status create_tx_fifo (const char *fifo_name, boost::shared_ptr< nirio_fifo< data_t > > &fifo)
 
template<typename data_t >
nirio_status create_tx_fifo (uint32_t fifo_instance, boost::shared_ptr< nirio_fifo< data_t > > &fifo)
 
template<typename data_t >
nirio_status create_rx_fifo (const char *fifo_name, boost::shared_ptr< nirio_fifo< data_t > > &fifo)
 
template<typename data_t >
nirio_status create_rx_fifo (uint32_t fifo_instance, boost::shared_ptr< nirio_fifo< data_t > > &fifo)
 
UHD_INLINE niriok_proxy::sptr get_kernel_proxy ()
 
nirio_status download_bitstream_to_flash (const std::string &bitstream_path)
 

Static Public Member Functions

static nirio_status enumerate (const std::string &rpc_port_name, device_info_vtr &device_info_vtr)
 
static niriok_proxy::sptr create_kernel_proxy (const std::string &resource_name, const std::string &rpc_port_name)
 

Member Typedef Documentation

◆ device_info

◆ device_info_vtr

◆ sptr

Constructor & Destructor Documentation

◆ niusrprio_session()

uhd::niusrprio::niusrprio_session::niusrprio_session ( const std::string &  resource_name,
const std::string &  port_name 
)

◆ ~niusrprio_session()

virtual uhd::niusrprio::niusrprio_session::~niusrprio_session ( )
virtual

Member Function Documentation

◆ close()

void uhd::niusrprio::niusrprio_session::close ( bool  skip_reset = false)

◆ create_kernel_proxy()

static niriok_proxy::sptr uhd::niusrprio::niusrprio_session::create_kernel_proxy ( const std::string &  resource_name,
const std::string &  rpc_port_name 
)
static

◆ create_rx_fifo() [1/2]

template<typename data_t >
nirio_status uhd::niusrprio::niusrprio_session::create_rx_fifo ( const char *  fifo_name,
boost::shared_ptr< nirio_fifo< data_t > > &  fifo 
)
inline

◆ create_rx_fifo() [2/2]

template<typename data_t >
nirio_status uhd::niusrprio::niusrprio_session::create_rx_fifo ( uint32_t  fifo_instance,
boost::shared_ptr< nirio_fifo< data_t > > &  fifo 
)
inline

◆ create_tx_fifo() [1/2]

template<typename data_t >
nirio_status uhd::niusrprio::niusrprio_session::create_tx_fifo ( const char *  fifo_name,
boost::shared_ptr< nirio_fifo< data_t > > &  fifo 
)
inline

◆ create_tx_fifo() [2/2]

template<typename data_t >
nirio_status uhd::niusrprio::niusrprio_session::create_tx_fifo ( uint32_t  fifo_instance,
boost::shared_ptr< nirio_fifo< data_t > > &  fifo 
)
inline

◆ download_bitstream_to_flash()

nirio_status uhd::niusrprio::niusrprio_session::download_bitstream_to_flash ( const std::string &  bitstream_path)

◆ enumerate()

static nirio_status uhd::niusrprio::niusrprio_session::enumerate ( const std::string &  rpc_port_name,
device_info_vtr device_info_vtr 
)
static

◆ get_kernel_proxy()

UHD_INLINE niriok_proxy::sptr uhd::niusrprio::niusrprio_session::get_kernel_proxy ( )
inline

◆ open()

nirio_status uhd::niusrprio::niusrprio_session::open ( nifpga_lvbitx::sptr  lvbitx,
bool  force_download = false 
)

◆ reset()

nirio_status uhd::niusrprio::niusrprio_session::reset ( )

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