GNU Radio 3.7.1 C++ API
|
A ControlPort probe to export vectors of signals. More...
#include <ctrlport_probe2_c.h>
Public Types | |
typedef boost::shared_ptr < ctrlport_probe2_c > | sptr |
Public Member Functions | |
virtual std::vector< gr_complex > | get ()=0 |
virtual void | set_length (int len)=0 |
virtual int | length () const =0 |
Static Public Member Functions | |
static sptr | make (const std::string &id, const std::string &desc, int len, unsigned int disp_mask) |
Make a ControlPort probe block. |
A ControlPort probe to export vectors of signals.
This block acts as a sink in the flowgraph but also exports vectors of complex samples over ControlPort. This block holds the latest len
number of complex samples so that every query by a ControlPort client will get the same length vector.
virtual std::vector<gr_complex> gr::blocks::ctrlport_probe2_c::get | ( | ) | [pure virtual] |
virtual int gr::blocks::ctrlport_probe2_c::length | ( | ) | const [pure virtual] |
static sptr gr::blocks::ctrlport_probe2_c::make | ( | const std::string & | id, |
const std::string & | desc, | ||
int | len, | ||
unsigned int | disp_mask | ||
) | [static] |
Make a ControlPort probe block.
id | A string ID to name the probe over ControlPort. |
desc | A string describing the probe. |
len | Number of samples to transmit. |
disp_mask | Mask to set default display params. |
virtual void gr::blocks::ctrlport_probe2_c::set_length | ( | int | len | ) | [pure virtual] |