GNU Radio 3.7.1 C++ API
gr::wxgui::oscope_sink_x Class Reference

Abstract class for python oscilloscope module.Don't instantiate this. Use gr::blocks::oscope_sink_f instead. More...

#include <oscope_sink_x.h>

Inheritance diagram for gr::wxgui::oscope_sink_x:

List of all members.

Public Member Functions

virtual ~oscope_sink_x ()
bool set_update_rate (double update_rate)
bool set_decimation_count (int decimation_count)
bool set_trigger_channel (int channel)
bool set_trigger_mode (trigger_mode mode)
bool set_trigger_slope (trigger_slope slope)
bool set_trigger_level (double trigger_level)
bool set_trigger_level_auto ()
bool set_sample_rate (double sample_rate)
bool set_num_channels (int nchannels)
int num_channels () const
double sample_rate () const
double update_rate () const
int get_decimation_count () const
int get_trigger_channel () const
trigger_mode get_trigger_mode () const
trigger_slope get_trigger_slope () const
double get_trigger_level () const
int get_samples_per_output_record () const
virtual int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)=0
 just like gr::block::general_work, only this arranges to call consume_each for you

Protected Member Functions

 oscope_sink_x ()
 oscope_sink_x (const std::string name, gr::io_signature::sptr input_sig, double sampling_rate)

Protected Attributes

double d_sampling_rate
oscope_gutsd_guts

Detailed Description

Abstract class for python oscilloscope module.

Don't instantiate this. Use gr::blocks::oscope_sink_f instead.


Constructor & Destructor Documentation

gr::wxgui::oscope_sink_x::oscope_sink_x ( ) [inline, protected]
gr::wxgui::oscope_sink_x::oscope_sink_x ( const std::string  name,
gr::io_signature::sptr  input_sig,
double  sampling_rate 
) [protected]

Member Function Documentation

virtual int gr::wxgui::oscope_sink_x::work ( int  noutput_items,
gr_vector_const_void_star input_items,
gr_vector_void_star output_items 
) [pure 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.


Member Data Documentation


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