USRP Hardware Driver and Device Manual  Version: 4.10.0.0-0-g2af4ddb9
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:

Detailed Description

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

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 inequality operator More...
 
std::string to_string () const
 

Public Attributes

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

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 inequality operator

◆ operator==()

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

overloaded equality operator

◆ to_string()

std::string uhd::usrp::subdev_spec_pair_t::to_string ( void  ) const
inline

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: