23 #ifndef INCLUDED_QTGUI_NUMBER_SINK_H
24 #define INCLUDED_QTGUI_NUMBER_SINK_H
34 #include <qapplication.h>
67 QWidget *parent=NULL);
69 virtual void exec_() = 0;
70 virtual QWidget* qwidget() = 0;
73 virtual PyObject* pyqwidget() = 0;
75 virtual void* pyqwidget() = 0;
78 virtual void set_update_time(
double t) = 0;
79 virtual void set_average(
const float avg) = 0;
80 virtual void set_graph_type(
const graph_t type) = 0;
81 virtual void set_color(
int which,
82 const std::string &
min,
83 const std::string &max) = 0;
84 virtual void set_color(
int which,
int min,
int max) = 0;
85 virtual void set_label(
int which,
const std::string &label) = 0;
86 virtual void set_min(
int which,
float min) = 0;
87 virtual void set_max(
int which,
float max) = 0;
89 virtual float average()
const = 0;
90 virtual graph_t graph_type()
const = 0;
91 virtual std::string color_min(
int which)
const = 0;
92 virtual std::string color_max(
int which)
const = 0;
93 virtual std::string label(
int which)
const = 0;
94 virtual float min(
int which)
const = 0;
95 virtual float max(
int which)
const = 0;
97 virtual void enable_menu(
bool en=
true) = 0;
98 virtual void enable_autoscale(
bool en=
true) = 0;
100 virtual void reset() = 0;
Definition: qtgui_types.h:144
boost::shared_ptr< number_sink > sptr
Definition: number_sink.h:52
float min(float a, float b)
graph_t
Definition: qtgui_types.h:142
A graphical sink to display numerical values of input streams.
Definition: number_sink.h:47
#define QTGUI_API
Definition: gr-qtgui/include/gnuradio/qtgui/api.h:30
shared_ptr documentation stub
Definition: shared_ptr_docstub.h:15
synchronous 1:1 input to output with historyOverride work to provide the signal processing implementa...
Definition: sync_block.h:37
QApplication * d_qApplication
Definition: number_sink.h:102
BLOCKS_API size_t itemsize(vector_type type)