gr-baz Package
baz_time_keeper Class Reference

square2 a stream of floats.This uses the preferred technique: subclassing gr_sync_block. More...

#include <baz_time_keeper.h>

List of all members.

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, int sample_rate)
 Return a shared_ptr to a new instance of baz_time_keeper.

Detailed Description

square2 a stream of floats.

This uses the preferred technique: subclassing gr_sync_block.


Constructor & Destructor Documentation


Member Function Documentation

void baz_time_keeper::ignore_next ( bool  ignore = true)
double baz_time_keeper::time ( bool  relative = false)
int baz_time_keeper::work ( int  noutput_items,
gr_vector_const_void_star &  input_items,
gr_vector_void_star &  output_items 
)

Friends And Related Function Documentation

BAZ_API baz_time_keeper_sptr baz_make_time_keeper ( int  item_size,
int  sample_rate 
) [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.


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