GNU Radio 3.5.1 C++ API
tag_source_demo Class Reference

#include <tag_source_demo.h>

Inheritance diagram for tag_source_demo:

List of all members.

Public Member Functions

 tag_source_demo (const uint64_t start_secs, const double start_fracs, const double samp_rate, const double idle_duration, const double burst_duration)
void make_time_tag (const uint64_t tag_count)
void make_sob_tag (const uint64_t tag_count)
void make_eob_tag (const uint64_t tag_count)
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 just like gr_block::general_work, only this arranges to call consume_each for you

Constructor & Destructor Documentation

tag_source_demo::tag_source_demo ( const uint64_t  start_secs,
const double  start_fracs,
const double  samp_rate,
const double  idle_duration,
const double  burst_duration 
) [inline]

Member Function Documentation

void tag_source_demo::make_eob_tag ( const uint64_t  tag_count) [inline]
void tag_source_demo::make_sob_tag ( const uint64_t  tag_count) [inline]
void tag_source_demo::make_time_tag ( const uint64_t  tag_count) [inline]
int tag_source_demo::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [inline, virtual]

just like gr_block::general_work, only this arranges to call consume_each for you

The user must override work to define the signal processing code

Implements gr_sync_block.

References make_eob_tag(), make_sob_tag(), make_time_tag(), and gr_block::nitems_written().


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