GNU Radio 3.6.5 C++ API

gr_test.h File Reference

#include <gr_core_api.h>
#include <gr_block.h>
#include <string>
#include "gr_test_types.h"

Go to the source code of this file.

Classes

class  gr_test
 Test class for testing runtime system (setting up buffers and such.)This block does not do any usefull actual data processing. It just exposes setting all standard block parameters using the contructor or public methods. More...

Functions

GR_CORE_API gr_test_sptr gr_make_test (const std::string &name=std::string("gr_test"), int min_inputs=1, int max_inputs=1, unsigned int sizeof_input_item=1, int min_outputs=1, int max_outputs=1, unsigned int sizeof_output_item=1, unsigned int history=1, unsigned int output_multiple=1, double relative_rate=1.0, bool fixed_rate=true, gr_consume_type_t cons_type=CONSUME_NOUTPUT_ITEMS, gr_produce_type_t prod_type=PRODUCE_NOUTPUT_ITEMS)

Function Documentation

GR_CORE_API gr_test_sptr gr_make_test ( const std::string &  name = std::string("gr_test"),
int  min_inputs = 1,
int  max_inputs = 1,
unsigned int  sizeof_input_item = 1,
int  min_outputs = 1,
int  max_outputs = 1,
unsigned int  sizeof_output_item = 1,
unsigned int  history = 1,
unsigned int  output_multiple = 1,
double  relative_rate = 1.0,
bool  fixed_rate = true,
gr_consume_type_t  cons_type = CONSUME_NOUTPUT_ITEMS,
gr_produce_type_t  prod_type = PRODUCE_NOUTPUT_ITEMS 
)