gr-baz Package
|
square2 a stream of floats. More...
#include <baz_time_keeper.h>
Public Member Functions | |
~baz_time_keeper () | |
double | time (bool relative=false) |
void | ignore_next (bool ignore=true) |
int | update_count (void) |
int | work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items) |
Friends | |
BAZ_API baz_time_keeper_sptr | baz_make_time_keeper (int item_size, float sample_rate) |
Return a shared_ptr to a new instance of baz_time_keeper. More... | |
square2 a stream of floats.
This uses the preferred technique: subclassing gr::sync_block.
baz_time_keeper::~baz_time_keeper | ( | ) |
void baz_time_keeper::ignore_next | ( | bool | ignore = true | ) |
double baz_time_keeper::time | ( | bool | relative = false | ) |
int baz_time_keeper::update_count | ( | void | ) |
int baz_time_keeper::work | ( | int | noutput_items, |
gr_vector_const_void_star & | input_items, | ||
gr_vector_void_star & | output_items | ||
) |
|
friend |
Return a shared_ptr to a new instance of baz_time_keeper.
To avoid accidental use of raw pointers, baz_time_keeper's constructor is private. howto_make_square2_ff is the public interface for creating new instances.