GNU Radio 3.7.1 C++ API
gr::blocks::ctrlport_probe2_f Class Reference

A ControlPort probe to export vectors of signals. More...

#include <ctrlport_probe2_f.h>

Inheritance diagram for gr::blocks::ctrlport_probe2_f:

List of all members.

Public Types

typedef boost::shared_ptr
< ctrlport_probe2_f
sptr

Public Member Functions

virtual std::vector< float > 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.

Detailed Description

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.


Member Typedef Documentation


Member Function Documentation

virtual std::vector<float> gr::blocks::ctrlport_probe2_f::get ( ) [pure virtual]
virtual int gr::blocks::ctrlport_probe2_f::length ( ) const [pure virtual]
static sptr gr::blocks::ctrlport_probe2_f::make ( const std::string &  id,
const std::string &  desc,
int  len,
unsigned int  disp_mask 
) [static]

Make a ControlPort probe block.

Parameters:
idA string ID to name the probe over ControlPort.
descA string describing the probe.
lenNumber of samples to transmit.
disp_maskMask to set default display params.
virtual void gr::blocks::ctrlport_probe2_f::set_length ( int  len) [pure virtual]

The documentation for this class was generated from the following file: