diff options
author | Josh Blum | 2013-06-01 22:43:27 -0700 |
---|---|---|
committer | Josh Blum | 2013-06-01 22:43:27 -0700 |
commit | f4fc952e58ce318298258926f7382ed28b92bfae (patch) | |
tree | b18a945b879e37c5bd83378e86fe3b1c05c23ba3 /gnuradio-core/src/lib/runtime/gr_block.h | |
parent | 2c0627d07360e31bb25ac334d349eb52e27086f0 (diff) | |
download | gnuradio-f4fc952e58ce318298258926f7382ed28b92bfae.tar.gz gnuradio-f4fc952e58ce318298258926f7382ed28b92bfae.tar.bz2 gnuradio-f4fc952e58ce318298258926f7382ed28b92bfae.zip |
gras: moved name and id into compat layer
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_block.h')
-rw-r--r-- | gnuradio-core/src/lib/runtime/gr_block.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_block.h b/gnuradio-core/src/lib/runtime/gr_block.h index 7a728bc4e..08914f24a 100644 --- a/gnuradio-core/src/lib/runtime/gr_block.h +++ b/gnuradio-core/src/lib/runtime/gr_block.h @@ -54,6 +54,11 @@ struct GR_CORE_API gr_block : gras::Block gr_io_signature_sptr output_signature ); + long unique_id(void) const{return _unique_id;} + std::string name(void) const{return _name;} + long _unique_id; + std::string _name; + virtual ~gr_block(void); gr_io_signature_sptr input_signature(void) const; |