|
GNU Radio 3.7.1 C++ API
|
#include <ctrlport_probe_psd_impl.h>
Public Member Functions | |
| ctrlport_probe_psd_impl (const std::string &id, const std::string &desc, int len) | |
| ~ctrlport_probe_psd_impl () | |
| void | setup_rpc () |
| Set up the RPC registered variables. More... | |
| void | forecast (int noutput_items, gr_vector_int &ninput_items_required) |
| Estimate input requirements given output request. More... | |
| std::vector< gr_complex > | get () |
| void | set_length (int len) |
| int | length () const |
| int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
| just like gr::block::general_work, only this arranges to call consume_each for you More... | |
Additional Inherited Members | |
Public Types inherited from gr::fft::ctrlport_probe_psd | |
| typedef boost::shared_ptr < ctrlport_probe_psd > | sptr |
Static Public Member Functions inherited from gr::fft::ctrlport_probe_psd | |
| static sptr | make (const std::string &id, const std::string &desc, int len) |
| Make a ControlPort probe block. More... | |
Protected Types inherited from gr::basic_block | |
| enum | vcolor { WHITE, GREY, BLACK } |
Protected Member Functions inherited from gr::sync_block | |
| sync_block (void) | |
| sync_block (const std::string &name, gr::io_signature::sptr input_signature, gr::io_signature::sptr output_signature) | |
Protected Attributes inherited from gr::block | |
| std::vector< long > | d_max_output_buffer |
| std::vector< long > | d_min_output_buffer |
| gr::thread::mutex | d_setlock |
| gr::logger_ptr | d_logger |
| gr::logger_ptr | d_debug_logger |
| gr::fft::ctrlport_probe_psd_impl::ctrlport_probe_psd_impl | ( | const std::string & | id, |
| const std::string & | desc, | ||
| int | len | ||
| ) |
| gr::fft::ctrlport_probe_psd_impl::~ctrlport_probe_psd_impl | ( | ) |
|
virtual |
Estimate input requirements given output request.
| noutput_items | number of output items to produce |
| ninput_items_required | number of input items required on each input stream |
Given a request to product noutput_items, estimate the number of data items required on each input stream. The estimate doesn't have to be exact, but should be close.
Reimplemented from gr::sync_block.
|
virtual |
Implements gr::fft::ctrlport_probe_psd.
|
virtual |
Implements gr::fft::ctrlport_probe_psd.
|
virtual |
Implements gr::fft::ctrlport_probe_psd.
|
virtual |
Set up the RPC registered variables.
This must be overloaded by a block that wants to use controlport. This is where rpcbasic_register_{get,set} pointers are created, which then get wrapped as shared pointers (rpcbasic_sptr(...)) and stored using add_rpc_variable.
Reimplemented from gr::basic_block.
|
virtual |
just like gr::block::general_work, only this arranges to call consume_each for you
The user must override work to define the signal processing code
Implements gr::sync_block.