|
| device_addr_t (const std::string &args="") |
|
| device_addr_t (const std::map< std::string, std::string > &info) |
|
std::string | to_pp_string (void) const |
|
std::string | to_string (void) const |
|
template<typename T > |
T | cast (const std::string &key, const T &def) const |
|
| dict (void) |
|
| dict (InputIterator first, InputIterator last) |
|
std::size_t | size (void) const |
|
std::vector< std::string > | keys (void) const |
|
std::vector< std::string > | vals (void) const |
|
bool | has_key (const std::string &key) const |
|
const std::string & | get (const std::string &key, const std::string &other) const |
|
const std::string & | get (const std::string &key) const |
|
void | set (const std::string &key, const std::string &val) |
|
const std::string & | operator[] (const std::string &key) const |
|
std::string & | operator[] (const std::string &key) |
|
bool | operator== (const dict< std::string, std::string > &other) const |
|
bool | operator!= (const dict< std::string, std::string > &other) const |
|
std::string | pop (const std::string &key) |
|
void | update (const dict< std::string, std::string > &new_dict, bool fail_on_conflict=true) |
|
| operator std::map< std::string, std::string > () const |
|
Mapping of key/value pairs for locating devices on the system. When left empty, the device discovery routines will search all available transports on the system (ethernet, usb...).
To narrow down the discovery process to a particular device, specify a transport key/value pair specific to your device.
- Ex, to find a usrp2: my_dev_addr["addr"] = [resolvable_hostname_or_ip]
The device address can also be used to pass arguments into the transport layer control to set (for example) buffer sizes.
An arguments string, is a way to represent a device address using a single string with delimiter characters.
- Ex: addr=192.168.10.2
- Ex: addr=192.168.10.2, recv_buff_size=1e6