#include <uhd/rfnoc/actions.hpp>
  
Public Types | |
| using | sptr = std::shared_ptr< action_info > | 
Public Member Functions | |
| virtual | ~action_info () | 
Static Public Member Functions | |
| static sptr | make (const std::string &key="", const uhd::device_addr_t &args=uhd::device_addr_t("")) | 
| Factory function.  More... | |
Public Attributes | |
| const size_t | id | 
| A unique counter for this action.  More... | |
| std::string | key | 
| A string identifier for this action.  More... | |
| std::vector< uint8_t > | payload | 
| An arbitrary payload. It is up to consumers and producers to.  More... | |
| uhd::device_addr_t | args | 
| A dictionary of key-value pairs. May be used as desired.  More... | |
Protected Member Functions | |
| action_info (const std::string &key, const uhd::device_addr_t &args=uhd::device_addr_t("")) | |
Container for an action
In the RFNoC context, an action is comparable to a command. Nodes in the graph can send each other actions. action_info is the payload of such an action message. Nodes pass shared pointers to action_info objects between each other to avoid costly copies of large action_info objects.
| using uhd::rfnoc::action_info::sptr = std::shared_ptr<action_info> | 
      
  | 
  inlinevirtual | 
      
  | 
  protected | 
      
  | 
  static | 
Factory function.
| uhd::device_addr_t uhd::rfnoc::action_info::args | 
A dictionary of key-value pairs. May be used as desired.
| const size_t uhd::rfnoc::action_info::id | 
A unique counter for this action.
| std::string uhd::rfnoc::action_info::key | 
A string identifier for this action.
| std::vector<uint8_t> uhd::rfnoc::action_info::payload | 
An arbitrary payload. It is up to consumers and producers to.