USRP Hardware Driver and USRP Manual  Version: 3.15.0.HEAD-0-g6563c537
UHD and USRP Manual
uhd::usrp::subdev_spec_pair_t Struct Reference

#include <uhd/usrp/subdev_spec.hpp>

Inheritance diagram for uhd::usrp::subdev_spec_pair_t:

Public Member Functions

 subdev_spec_pair_t (const std::string &db_name="", const std::string &sd_name="")
 
bool operator== (const subdev_spec_pair_t &other)
 overloaded equality operator More...
 
bool operator!= (const subdev_spec_pair_t &other)
 overloaded inquality operator More...
 

Public Attributes

std::string db_name
 The daughterboard slot name. More...
 
std::string sd_name
 The subdevice name. More...
 

Detailed Description

A subdevice specification (daughterboard slot, subdevice) name pairing.

Constructor & Destructor Documentation

◆ subdev_spec_pair_t()

uhd::usrp::subdev_spec_pair_t::subdev_spec_pair_t ( const std::string &  db_name = "",
const std::string &  sd_name = "" 
)

Create a new subdevice specification pair from dboard and subdev names.

Parameters
db_namethe name of a daughterboard slot
sd_namethe name of a subdevice on that daughterboard

Member Function Documentation

◆ operator!=()

bool uhd::usrp::subdev_spec_pair_t::operator!= ( const subdev_spec_pair_t other)

overloaded inquality operator

◆ operator==()

bool uhd::usrp::subdev_spec_pair_t::operator== ( const subdev_spec_pair_t other)

overloaded equality operator

Member Data Documentation

◆ db_name

std::string uhd::usrp::subdev_spec_pair_t::db_name

The daughterboard slot name.

◆ sd_name

std::string uhd::usrp::subdev_spec_pair_t::sd_name

The subdevice name.


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