  | 
  
    USRP Hardware Driver and USRP Manual
    Version: 4.8.0.0
    
   UHD and USRP Manual 
   | 
           
 | 
 
 
 
 
Go to the documentation of this file.
   13 namespace uhd { 
namespace rfnoc {
 
   51         return !(*
this == rhs);
 
   57         const std::string type_repr = 
type == 
USER          ? 
"USER" 
   61         return type_repr + 
":" + std::to_string(
instance);
 
   83 struct hash<
uhd::rfnoc::res_source_info>
 
   87         const size_t hash_type = std::hash<size_t>{}(src_info.
type);
 
   88         const size_t hash_inst = std::hash<size_t>{}(src_info.
instance);
 
   89         return hash_type ^ (hash_inst << 1);
 
  
 
@ OUTPUT_EDGE
An input edge sources this resource.
Definition: res_source_info.hpp:24
 
Definition: res_source_info.hpp:17
 
#define UHD_ASSERT_THROW(code)
Definition: exception.hpp:322
 
static source_t invert_edge(const source_t edge_direction)
Definition: res_source_info.hpp:72
 
@ FRAMEWORK
This is a special resource, only accessed by the framework.
Definition: res_source_info.hpp:25
 
std::string to_string() const
Returns a string representation of the source.
Definition: res_source_info.hpp:55
 
@ INPUT_EDGE
An input edge sources this resource.
Definition: res_source_info.hpp:23
 
source_t
Definition: res_source_info.hpp:21
 
size_t operator()(const uhd::rfnoc::res_source_info &src_info) const
Definition: res_source_info.hpp:85
 
res_source_info(source_t source_type, size_t instance_=0)
Definition: res_source_info.hpp:31
 
Definition: build_info.hpp:12
 
@ USER
The user API sources this resource.
Definition: res_source_info.hpp:22
 
source_t type
The type of source (user or edge)
Definition: res_source_info.hpp:38
 
bool operator!=(const res_source_info &rhs) const
Definition: res_source_info.hpp:49
 
bool operator==(const res_source_info &rhs) const
Definition: res_source_info.hpp:44
 
size_t instance
The instance of the source. For resource that is sourced by a edge, it.
Definition: res_source_info.hpp:42