GNU Radio's TEST Package
gr::fosphor::glfw_sink_c_impl Class Reference

GLFW version of fosphor sink (implementation) More...

#include <glfw_sink_c_impl.h>

Inheritance diagram for gr::fosphor::glfw_sink_c_impl:
[legend]

Public Member Functions

 glfw_sink_c_impl ()
 
virtual void execute_ui_action (enum ui_action_t action)=0
 
virtual void execute_mouse_action (enum mouse_action_t action, int x, int y)=0
 
virtual void set_frequency_range (const double center, const double span)=0
 
virtual void set_frequency_center (const double center)=0
 
virtual void set_frequency_span (const double span)=0
 
virtual void set_fft_window (const gr::fft::window::win_type win)=0
 
- Public Member Functions inherited from gr::fosphor::base_sink_c_impl
virtual ~base_sink_c_impl ()
 
void execute_ui_action (enum ui_action_t action)
 
void execute_mouse_action (enum mouse_action_t action, int x, int y)
 
void set_frequency_range (const double center, const double span)
 
void set_frequency_center (const double center)
 
void set_frequency_span (const double span)
 
void set_fft_window (const gr::fft::window::win_type win)
 
int work (int noutput_items, gr_vector_const_void_star &input_items, gr_vector_void_star &output_items)
 
bool start ()
 
bool stop ()
 

Protected Member Functions

void glctx_init ()
 
void glctx_swap ()
 
void glctx_poll ()
 
void glctx_fini ()
 
void glctx_update ()
 
- Protected Member Functions inherited from gr::fosphor::base_sink_c
 base_sink_c (const char *name=NULL)
 
- Protected Member Functions inherited from gr::fosphor::base_sink_c_impl
 base_sink_c_impl ()
 
virtual void glctx_init ()=0
 
virtual void glctx_poll ()=0
 
virtual void glctx_swap ()=0
 
virtual void glctx_fini ()=0
 
virtual void glctx_update ()=0
 
void cb_reshape (int width, int height)
 
void cb_visibility (bool visible)
 

Additional Inherited Members

- Public Types inherited from gr::fosphor::glfw_sink_c
typedef std::shared_ptr< glfw_sink_csptr
 
- Public Types inherited from gr::fosphor::base_sink_c
enum  ui_action_t {
  DB_PER_DIV_UP , DB_PER_DIV_DOWN , REF_UP , REF_DOWN ,
  ZOOM_TOGGLE , ZOOM_WIDTH_UP , ZOOM_WIDTH_DOWN , ZOOM_CENTER_UP ,
  ZOOM_CENTER_DOWN , RATIO_UP , RATIO_DOWN , FREEZE_TOGGLE
}
 
enum  mouse_action_t { CLICK }
 
- Static Public Member Functions inherited from gr::fosphor::glfw_sink_c
static sptr make ()
 Return a shared_ptr to a new instance of fosphor::glfw_sink_c. More...
 

Detailed Description

GLFW version of fosphor sink (implementation)

Constructor & Destructor Documentation

◆ glfw_sink_c_impl()

gr::fosphor::glfw_sink_c_impl::glfw_sink_c_impl ( )

Member Function Documentation

◆ glctx_fini()

void gr::fosphor::glfw_sink_c_impl::glctx_fini ( )
protectedvirtual

◆ glctx_init()

void gr::fosphor::glfw_sink_c_impl::glctx_init ( )
protectedvirtual

◆ glctx_poll()

void gr::fosphor::glfw_sink_c_impl::glctx_poll ( )
protectedvirtual

◆ glctx_swap()

void gr::fosphor::glfw_sink_c_impl::glctx_swap ( )
protectedvirtual

◆ glctx_update()

void gr::fosphor::glfw_sink_c_impl::glctx_update ( )
protectedvirtual

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