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

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

#include <ctrlport_probe2_c.h>

Inheritance diagram for gr::blocks::ctrlport_probe2_c:

List of all members.

Public Types

typedef boost::shared_ptr
< ctrlport_probe2_c
sptr

Public Member Functions

virtual std::vector< gr_complexget ()=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<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.

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_c::set_length ( int  len) [pure virtual]

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