diff options
author | Martin Braun <martin.braun@ettus.com> | 2019-06-01 23:41:47 -0700 |
---|---|---|
committer | Martin Braun <martin.braun@ettus.com> | 2019-11-26 11:49:23 -0800 |
commit | 0f8718176993b3460b12720e639b030be9b86943 (patch) | |
tree | 81820aad39192e63837c41e557bb6c559136415b /host/include | |
parent | dc9ca94afaa0a1c049eac934ad1c278deedc6766 (diff) | |
download | uhd-0f8718176993b3460b12720e639b030be9b86943.tar.gz uhd-0f8718176993b3460b12720e639b030be9b86943.tar.bz2 uhd-0f8718176993b3460b12720e639b030be9b86943.zip |
rfnoc: graph: Add commit/release API
Diffstat (limited to 'host/include')
-rw-r--r-- | host/include/uhd/rfnoc_graph.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/host/include/uhd/rfnoc_graph.hpp b/host/include/uhd/rfnoc_graph.hpp index 630f79751..a0a9bf907 100644 --- a/host/include/uhd/rfnoc_graph.hpp +++ b/host/include/uhd/rfnoc_graph.hpp @@ -203,6 +203,22 @@ public: */ std::vector<graph_edge_t> enumerate_connections(); + /*! Commit graph and run initial checks + * + * This method needs to be called when the graph is ready for action. + * It will run checks on the graph and run a property propagation. + * + * \throws uhd::resolve_error if the properties fail to resolve. + */ + virtual void commit() = 0; + + /*! Release graph: Opposite of commit() + * + * Calling this will disable property propagation until commit() has been + * called an equal number of times. + */ + virtual void release() = 0; + /****************************************** * Streaming ******************************************/ |