GNU Radio's SATNOGS Package
gr::satnogs::iq_sink Class Reference

This block converts a complex float input stream to short and stores it to a file. If the value of status argument is zero the block behaves as a null sink block. More...

#include <iq_sink.h>

Inheritance diagram for gr::satnogs::iq_sink:
gr::satnogs::iq_sink_impl

Public Types

typedef boost::shared_ptr< iq_sinksptr
 

Static Public Member Functions

static sptr make (const float scale, const char *filename, bool append=false, const int status=0)
 

Detailed Description

This block converts a complex float input stream to short and stores it to a file. If the value of status argument is zero the block behaves as a null sink block.

Member Typedef Documentation

◆ sptr

typedef boost::shared_ptr<iq_sink> gr::satnogs::iq_sink::sptr

Member Function Documentation

◆ make()

static sptr gr::satnogs::iq_sink::make ( const float  scale,
const char *  filename,
bool  append = false,
const int  status = 0 
)
static

This block converts a complex float input stream to short and stores it to a file. If the value of status argument is zero the block behaves as a null sink block.

Parameters
scalethe value multiplied against each point in the input stream
filenamename of the file to open and write output to.
appendif true, data is appended to the file instead of overwriting the initial content.
statusthe status of the block.
  • 0: Block acts as a null sink
  • 1: Active
Returns
a shared_ptr to a new instance of satnogs::iq_sink.

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