Ardour  9.0-pre0-822-g12e3bc5c20
PluginLoadStatsGui Class Reference

#include <plugin_dspload_ui.h>

Inheritance diagram for PluginLoadStatsGui:
[legend]

Public Member Functions

 PluginLoadStatsGui (std::shared_ptr< ARDOUR::PlugInsertBase >)
 
void start_updating ()
 
void stop_updating ()
 
double dsp_avg () const
 
uint64_t dsp_max () const
 

Private Member Functions

void update_cpu_label ()
 
bool draw_bar (GdkEventExpose *)
 
void clear_stats ()
 

Private Attributes

std::shared_ptr< ARDOUR::PlugInsertBase_pib
 
sigc::connection update_cpu_label_connection
 
Gtk::Label _lbl_min
 
Gtk::Label _lbl_max
 
Gtk::Label _lbl_avg
 
Gtk::Label _lbl_dev
 
ArdourWidgets::ArdourButton _reset_button
 
Gtk::DrawingArea _darea
 
PBD::microseconds_t _min
 
PBD::microseconds_t _max
 
double _avg
 
double _dev
 
bool _valid
 

Detailed Description

Definition at line 32 of file plugin_dspload_ui.h.

Constructor & Destructor Documentation

◆ PluginLoadStatsGui()

PluginLoadStatsGui::PluginLoadStatsGui ( std::shared_ptr< ARDOUR::PlugInsertBase )

Member Function Documentation

◆ clear_stats()

void PluginLoadStatsGui::clear_stats ( )
inlineprivate

Definition at line 46 of file plugin_dspload_ui.h.

◆ draw_bar()

bool PluginLoadStatsGui::draw_bar ( GdkEventExpose *  )
private

◆ dsp_avg()

double PluginLoadStatsGui::dsp_avg ( ) const
inline

Definition at line 40 of file plugin_dspload_ui.h.

◆ dsp_max()

uint64_t PluginLoadStatsGui::dsp_max ( ) const
inline

Definition at line 41 of file plugin_dspload_ui.h.

◆ start_updating()

void PluginLoadStatsGui::start_updating ( )

◆ stop_updating()

void PluginLoadStatsGui::stop_updating ( )

◆ update_cpu_label()

void PluginLoadStatsGui::update_cpu_label ( )
private

Member Data Documentation

◆ _avg

double PluginLoadStatsGui::_avg
private

Definition at line 62 of file plugin_dspload_ui.h.

◆ _darea

Gtk::DrawingArea PluginLoadStatsGui::_darea
private

Definition at line 59 of file plugin_dspload_ui.h.

◆ _dev

double PluginLoadStatsGui::_dev
private

Definition at line 62 of file plugin_dspload_ui.h.

◆ _lbl_avg

Gtk::Label PluginLoadStatsGui::_lbl_avg
private

Definition at line 55 of file plugin_dspload_ui.h.

◆ _lbl_dev

Gtk::Label PluginLoadStatsGui::_lbl_dev
private

Definition at line 56 of file plugin_dspload_ui.h.

◆ _lbl_max

Gtk::Label PluginLoadStatsGui::_lbl_max
private

Definition at line 54 of file plugin_dspload_ui.h.

◆ _lbl_min

Gtk::Label PluginLoadStatsGui::_lbl_min
private

Definition at line 53 of file plugin_dspload_ui.h.

◆ _max

PBD::microseconds_t PluginLoadStatsGui::_max
private

Definition at line 61 of file plugin_dspload_ui.h.

◆ _min

PBD::microseconds_t PluginLoadStatsGui::_min
private

Definition at line 61 of file plugin_dspload_ui.h.

◆ _pib

std::shared_ptr<ARDOUR::PlugInsertBase> PluginLoadStatsGui::_pib
private

Definition at line 50 of file plugin_dspload_ui.h.

◆ _reset_button

ArdourWidgets::ArdourButton PluginLoadStatsGui::_reset_button
private

Definition at line 58 of file plugin_dspload_ui.h.

◆ _valid

bool PluginLoadStatsGui::_valid
private

Definition at line 63 of file plugin_dspload_ui.h.

◆ update_cpu_label_connection

sigc::connection PluginLoadStatsGui::update_cpu_label_connection
private

Definition at line 51 of file plugin_dspload_ui.h.


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