GNU Radio's OsmoSDR Package
osmosdr_source_c.h File Reference
#include <osmosdr/osmosdr_api.h>
#include <osmosdr/osmosdr_ranges.h>
#include <gnuradio/gr_hier_block2.h>
Include dependency graph for osmosdr_source_c.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  osmosdr_source_c
 Provides a stream of complex samples.This uses the preferred technique: subclassing gr_hier_block2. More...
 

Functions

OSMOSDR_API osmosdr_source_c_sptr osmosdr_make_source_c (const std::string &args="")
 Return a shared_ptr to a new instance of osmosdr_source_c. More...
 

Function Documentation

OSMOSDR_API osmosdr_source_c_sptr osmosdr_make_source_c ( const std::string &  args = "")

Return a shared_ptr to a new instance of osmosdr_source_c.

To avoid accidental use of raw pointers, osmosdr_source_c's constructor is private. osmosdr_make_source_c is the public interface for creating new instances.