#include <gtkStatsPianoWindow.h>
Inheritance diagram for GtkStatsPianoWindow:
Public Member Functions | |
GtkStatsPianoWindow (GtkStatsMonitor *monitor, int thread_index, int chart_xsize, int chart_ysize) | |
virtual void | mark_dead () |
Called when the client's connection has been lost, this should update the window in some obvious way to indicate that the window is no longer live. | |
virtual void | idle () |
virtual bool | destruct () |
Call this to remove the window, etc. | |
virtual void | update_title () |
Sets the title bar appropriately, once the client's information is known. | |
virtual void | new_collector () |
Called when a new collector has become known, in case the window cares. | |
void | setup () |
Call this after initializing the window. | |
Protected Member Functions | |
virtual void | setup_menu () |
virtual void | menu_new_window () |
void | menu_hscale (float hz) |
Selects a new horizontal scale for the piano roll. | |
void | menu_open_strip_chart () |
Open up a new strip-chart style window for the main thread. | |
void | menu_open_piano_roll () |
Open up a new piano-roll style window for the main thread. | |
void | menu_close_window () |
void | menu_close_all_windows () |
void | menu_disconnect () |
void | delete_self () |
Static Protected Member Functions | |
gint | static_delete (BasicGtkWindow *window) |
Protected Attributes | |
PointerTo< GtkStatsMonitor > | _monitor |
Gtk::VBox * | _main_box |
Gtk::MenuBar * | _menu |
Gtk::Menu * | _file_menu |
Private Member Functions | |
void | layout_window (int chart_xsize, int chart_ysize) |
Private Attributes | |
int | _thread_index |
GtkStatsPianoRoll * | _chart |
Definition at line 39 of file gtkStatsPianoWindow.h.
|
Definition at line 36 of file gtkStatsPianoWindow.cxx. |
|
Definition at line 133 of file basicGtkWindow.cxx. References BasicGtkWindow::_state, and BasicGtkWindow::S_ready. |
|
Call this to remove the window, etc. It's not tied directly to the real destructor because that seems to just lead to trouble. This returns true if it actually destructed, or false if it had already destructed previously and did nothing this time. Reimplemented from BasicGtkWindow. Definition at line 58 of file gtkStatsWindow.cxx. Referenced by GtkStatsMonitor::GtkStatsMonitor(), and GtkStatsWindow::menu_open_strip_chart(). |
|
Reimplemented from GtkStatsWindow. Definition at line 73 of file gtkStatsPianoWindow.cxx. |
|
Definition at line 159 of file gtkStatsPianoWindow.cxx. References _chart. |
|
Called when the client's connection has been lost, this should update the window in some obvious way to indicate that the window is no longer live.
Reimplemented from GtkStatsWindow. Definition at line 60 of file gtkStatsPianoWindow.cxx. References _chart, GtkStatsWindow::idle(), and PStatPianoRoll::update(). |
|
Definition at line 236 of file gtkStatsWindow.cxx. |
|
Definition at line 224 of file gtkStatsWindow.cxx. |
|
Definition at line 248 of file gtkStatsWindow.cxx. |
|
Selects a new horizontal scale for the piano roll. This is done from the menu called "Scale". The units is in Hz. Definition at line 147 of file gtkStatsPianoWindow.cxx. References _chart. |
|
Reimplemented from GtkStatsWindow. Definition at line 127 of file gtkStatsPianoWindow.cxx. |
|
Open up a new piano-roll style window for the main thread.
Definition at line 201 of file gtkStatsWindow.cxx. References GtkStatsWindow::_monitor. Referenced by GtkStatsWindow::new_collector(). |
|
Open up a new strip-chart style window for the main thread.
Definition at line 186 of file gtkStatsWindow.cxx. References GtkStatsWindow::destruct(). Referenced by GtkStatsWindow::new_collector(). |
|
Called when a new collector has become known, in case the window cares.
Reimplemented in GtkStatsStripWindow. Definition at line 117 of file gtkStatsWindow.cxx. References GtkStatsWindow::_file_menu, GtkStatsWindow::menu_open_piano_roll(), and GtkStatsWindow::menu_open_strip_chart(). Referenced by GtkStatsWindow::mark_dead(). |
|
Call this after initializing the window.
Definition at line 69 of file basicGtkWindow.cxx. References BasicGtkWindow::_destroyed, GtkBase::_gtk, BasicGtkWindow::_state, BasicGtkWindow::S_gone, and BasicGtkWindow::S_virgin. |
|
Reimplemented from GtkStatsWindow. Definition at line 86 of file gtkStatsPianoWindow.cxx. References GtkStatsWindow::_menu. |
|
|
|
Sets the title bar appropriately, once the client's information is known.
Definition at line 78 of file gtkStatsWindow.cxx. |
|
Definition at line 58 of file gtkStatsPianoWindow.h. Referenced by layout_window(), mark_dead(), and menu_hscale(). |
|
Definition at line 75 of file gtkStatsWindow.h. Referenced by GtkStatsWindow::idle(), GtkStatsWindow::new_collector(), and GtkStatsWindow::setup_menu(). |
|
Definition at line 73 of file gtkStatsWindow.h. Referenced by GtkStatsWindow::GtkStatsWindow(), and GtkStatsWindow::setup_menu(). |
|
Definition at line 74 of file gtkStatsWindow.h. Referenced by GtkStatsWindow::GtkStatsWindow(), GtkStatsWindow::setup_menu(), GtkStatsStripWindow::setup_menu(), and setup_menu(). |
|
Definition at line 71 of file gtkStatsWindow.h. Referenced by GtkStatsStripWindow::layout_window(), GtkStatsWindow::mark_dead(), GtkStatsStripWindow::mark_dead(), GtkStatsStripWindow::menu_hscale(), and GtkStatsWindow::menu_open_piano_roll(). |
|
Definition at line 56 of file gtkStatsPianoWindow.h. |