#include <uhd/rfnoc/res_source_info.hpp>
Public Types | |
enum | source_t { USER , INPUT_EDGE , OUTPUT_EDGE , FRAMEWORK } |
Public Member Functions | |
res_source_info ()=delete | |
res_source_info (source_t source_type, size_t instance_=0) | |
bool | operator== (const res_source_info &rhs) const |
bool | operator!= (const res_source_info &rhs) const |
std::string | to_string () const |
Returns a string representation of the source. More... | |
Static Public Member Functions | |
static source_t | invert_edge (const source_t edge_direction) |
Public Attributes | |
source_t | type |
The type of source (user or edge) More... | |
size_t | instance = 0 |
The instance of the source. For resource that is sourced by a edge, it. More... | |
Describes the source of a particular resource (property or action)
|
delete |
|
inline |
|
inlinestatic |
Convenience function to invert the type value if it's an edge.
uhd::assertion_error | if edge_direction is neither INPUT_EDGE nor OUTPUT_EDGE |
|
inline |
|
inline |
|
inline |
Returns a string representation of the source.
size_t uhd::rfnoc::res_source_info::instance = 0 |
The instance of the source. For resource that is sourced by a edge, it.
source_t uhd::rfnoc::res_source_info::type |
The type of source (user or edge)