diff options
author | Josh Blum | 2012-10-04 21:15:11 -0700 |
---|---|---|
committer | Josh Blum | 2012-10-04 21:15:11 -0700 |
commit | 709f8e97cc642e446d357612a6d6512d5a4c5330 (patch) | |
tree | 203a53e63fca96fe9e9a72d3fe386102d817b8d2 /lib/gras_impl/block_actor.hpp | |
parent | 3600e927bf31ca46bb99ef2df83512112fa6a8b2 (diff) | |
download | sandhi-709f8e97cc642e446d357612a6d6512d5a4c5330.tar.gz sandhi-709f8e97cc642e446d357612a6d6512d5a4c5330.tar.bz2 sandhi-709f8e97cc642e446d357612a6d6512d5a4c5330.zip |
implementation for the top block global config
Diffstat (limited to 'lib/gras_impl/block_actor.hpp')
-rw-r--r-- | lib/gras_impl/block_actor.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/gras_impl/block_actor.hpp b/lib/gras_impl/block_actor.hpp index bbe6d6c..023011d 100644 --- a/lib/gras_impl/block_actor.hpp +++ b/lib/gras_impl/block_actor.hpp @@ -21,6 +21,7 @@ #include <gras_impl/bitset.hpp> #include <gnuradio/gras.hpp> #include <gnuradio/block.hpp> +#include <gnuradio/top_block.hpp> #include <Apology/Worker.hpp> #include <gras_impl/token.hpp> #include <gras_impl/messages.hpp> @@ -59,7 +60,7 @@ struct BlockActor : Apology::Worker this->RegisterHandler(this, &BlockActor::handle_top_active); this->RegisterHandler(this, &BlockActor::handle_top_inert); this->RegisterHandler(this, &BlockActor::handle_top_token); - this->RegisterHandler(this, &BlockActor::handle_top_hint); + this->RegisterHandler(this, &BlockActor::handle_top_config); this->RegisterHandler(this, &BlockActor::handle_top_thread_group); this->RegisterHandler(this, &BlockActor::handle_input_tag); @@ -85,7 +86,7 @@ struct BlockActor : Apology::Worker void handle_top_active(const TopActiveMessage &, const Theron::Address); void handle_top_inert(const TopInertMessage &, const Theron::Address); void handle_top_token(const TopTokenMessage &, const Theron::Address); - void handle_top_hint(const TopHintMessage &, const Theron::Address); + void handle_top_config(const GlobalBlockConfig &, const Theron::Address); void handle_top_thread_group(const SharedThreadGroup &, const Theron::Address); void handle_input_tag(const InputTagMessage &, const Theron::Address); @@ -180,7 +181,6 @@ struct BlockActor : Apology::Worker BLOCK_STATE_LIVE, BLOCK_STATE_DONE, } block_state; - size_t hint; //some kind of allocation hint Affinity buffer_affinity; std::vector<std::vector<OutputHintMessage> > output_allocation_hints; |