#include <uhd/transport/nirio/niriok_proxy.h>
Classes | |
struct | nirio_ioctl_packet_t |
Public Types | |
typedef boost::shared_ptr< niriok_proxy > | sptr |
Public Member Functions | |
niriok_proxy () | |
virtual | ~niriok_proxy () |
virtual nirio_status | open (const std::string &interface_path)=0 |
virtual void | close (void)=0 |
virtual nirio_status | reset ()=0 |
uint32_t | get_interface_num () |
virtual nirio_status | get_cached_session (uint32_t &session)=0 |
virtual nirio_status | get_version (nirio_version_t type, uint32_t &major, uint32_t &upgrade, uint32_t &maintenance, char &phase, uint32_t &build)=0 |
virtual nirio_status | get_attribute (const nirio_device_attribute32_t attribute, uint32_t &attrValue)=0 |
virtual nirio_status | set_attribute (const nirio_device_attribute32_t attribute, const uint32_t value)=0 |
virtual nirio_status | peek (uint32_t offset, uint32_t &value)=0 |
virtual nirio_status | peek (uint32_t offset, uint64_t &value)=0 |
virtual nirio_status | poke (uint32_t offset, const uint32_t &value)=0 |
virtual nirio_status | poke (uint32_t offset, const uint64_t &value)=0 |
virtual nirio_status | map_fifo_memory (uint32_t fifo_instance, size_t size, nirio_driver_iface::rio_mmap_t &map)=0 |
virtual nirio_status | unmap_fifo_memory (nirio_driver_iface::rio_mmap_t &map)=0 |
virtual nirio_status | stop_all_fifos ()=0 |
nirio_quirks & | get_rio_quirks () |
virtual nirio_status | add_fifo_resource (const nirio_fifo_info_t &fifo_info)=0 |
virtual nirio_status | set_device_config ()=0 |
virtual nirio_status | start_fifo (uint32_t channel)=0 |
virtual nirio_status | stop_fifo (uint32_t channel)=0 |
virtual nirio_status | configure_fifo (uint32_t channel, uint32_t requested_depth, uint8_t requires_actuals, uint32_t &actual_depth, uint32_t &actual_size)=0 |
virtual nirio_status | wait_on_fifo (uint32_t channel, uint32_t elements_requested, uint32_t scalar_type, uint32_t bit_width, uint32_t timeout, uint8_t output, void *&data_pointer, uint32_t &elements_acquired, uint32_t &elements_remaining)=0 |
virtual nirio_status | grant_fifo (uint32_t channel, uint32_t elements_to_grant)=0 |
virtual nirio_status | read_fifo (uint32_t channel, uint32_t elements_to_read, void *buffer, uint32_t buffer_datatype_width, uint32_t scalar_type, uint32_t bit_width, uint32_t timeout, uint32_t &number_read, uint32_t &number_remaining)=0 |
virtual nirio_status | write_fifo (uint32_t channel, uint32_t elements_to_write, void *buffer, uint32_t buffer_datatype_width, uint32_t scalar_type, uint32_t bit_width, uint32_t timeout, uint32_t &number_remaining)=0 |
Static Public Member Functions | |
static sptr | make_and_open (const std::string &interface_path) |
Protected Member Functions | |
virtual void | _close ()=0 |
Protected Attributes | |
nirio_driver_iface::rio_dev_handle_t | _device_handle |
uint32_t | _interface_num |
nirio_quirks | _rio_quirks |
Static Protected Attributes | |
static boost::shared_mutex | _synchronization |
typedef boost::shared_ptr<niriok_proxy> uhd::niusrprio::niriok_proxy::sptr |
uhd::niusrprio::niriok_proxy::niriok_proxy | ( | ) |
|
virtual |
|
protectedpure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
inline |
|
inline |
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
static |
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
pure virtual |
Implemented in uhd::niusrprio::niriok_proxy_impl_v1, and uhd::niusrprio::niriok_proxy_impl_v2.
|
protected |
|
protected |
|
protected |
|
staticprotected |