USRP Hardware Driver and USRP Manual  Version: 4.7.0.0
UHD and USRP Manual
uhd::rfnoc::blockdef::port_t Class Reference

Describes port options for a block definition. More...

#include <uhd/rfnoc/blockdef.hpp>

Inheritance diagram for uhd::rfnoc::blockdef::port_t:
uhd::dict< std::string, std::string >

Public Member Functions

 port_t ()
 
bool is_variable (const std::string &key) const
 Checks if the value at key is a variable (e.g. '$fftlen') More...
 
bool is_keyword (const std::string &key) const
 Checks if the value at key is a keyword (e.g. 'vlen') More...
 
bool is_valid () const
 Basic validity check of this port definition. Variables and. More...
 
std::string to_string () const
 Returns a string with the most important keys. More...
 
- Public Member Functions inherited from uhd::dict< std::string, std::string >
 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
 

Static Public Attributes

static const device_addr_t PORT_ARGS
 A list of args a port can have. More...
 

Detailed Description

Describes port options for a block definition.

Constructor & Destructor Documentation

◆ port_t()

uhd::rfnoc::blockdef::port_t::port_t ( )

Member Function Documentation

◆ is_keyword()

bool uhd::rfnoc::blockdef::port_t::is_keyword ( const std::string &  key) const

Checks if the value at key is a keyword (e.g. 'vlen')

◆ is_valid()

bool uhd::rfnoc::blockdef::port_t::is_valid ( ) const

Basic validity check of this port definition. Variables and.

◆ is_variable()

bool uhd::rfnoc::blockdef::port_t::is_variable ( const std::string &  key) const

Checks if the value at key is a variable (e.g. '$fftlen')

◆ to_string()

std::string uhd::rfnoc::blockdef::port_t::to_string ( ) const

Returns a string with the most important keys.

Member Data Documentation

◆ PORT_ARGS

const device_addr_t uhd::rfnoc::blockdef::port_t::PORT_ARGS
static

A list of args a port can have.


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