Describes port options for a block definition. More...
#include <uhd/rfnoc/blockdef.hpp>
Describes port options for a block definition.
This is not the same as a uhd::rfnoc::stream_sig_t. This is used to describe which ports are defined in a block definition, and to describe what kind of connection is allowed for this port.
All the keys listed in PORT_ARGS will be available in this class.
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 |
| std::string | to_string () const |
| Returns a string with the most important keys. More... | |
Static Public Attributes | |
| static const device_addr_t | PORT_ARGS |
| A list of args a port can have. More... | |
| uhd::rfnoc::blockdef::port_t::port_t | ( | ) |
| 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')
| bool uhd::rfnoc::blockdef::port_t::is_valid | ( | ) | const |
Basic validity check of this port definition. Variables and keywords are not resolved.
| 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')
| std::string uhd::rfnoc::blockdef::port_t::to_string | ( | ) | const |
Returns a string with the most important keys.
|
static |
A list of args a port can have.