diff options
Diffstat (limited to 'lib/gras_impl/block_data.hpp')
-rw-r--r-- | lib/gras_impl/block_data.hpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/lib/gras_impl/block_data.hpp b/lib/gras_impl/block_data.hpp index 2dcf3c6..9fbf3eb 100644 --- a/lib/gras_impl/block_data.hpp +++ b/lib/gras_impl/block_data.hpp @@ -24,6 +24,13 @@ struct PropertyRegistryPair PropertyRegistrySptr getter; }; +enum BlockState +{ + BLOCK_STATE_INIT, + BLOCK_STATE_LIVE, + BLOCK_STATE_DONE, +}; + struct BlockData { //per port properties @@ -61,19 +68,13 @@ struct BlockData boost::shared_ptr<InterruptibleThread> interruptible_thread; //is the fg running? - enum - { - BLOCK_STATE_INIT, - BLOCK_STATE_LIVE, - BLOCK_STATE_DONE, - } block_state; + BlockState block_state; long buffer_affinity; std::vector<std::vector<OutputHintMessage> > output_allocation_hints; //property stuff std::map<std::string, PropertyRegistryPair> property_registry; - PMCC prop_access_dispatcher(const std::string &key, const PMCC &value, const bool set); BlockStats stats; }; |