#include <gtkStatsWindow.h>
Inheritance diagram for GtkStatsWindow:
Public Member Functions | |
GtkStatsWindow (GtkStatsMonitor *monitor) | |
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 | 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 | new_collector () |
Called when a new collector has become known, in case the window cares. | |
virtual void | idle () |
void | setup () |
Call this after initializing the window. | |
Protected Member Functions | |
virtual void | setup_menu () |
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. | |
virtual void | menu_new_window () |
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 |
Each window keeps a pointer back to the GtkStatsMonitor object, which in turn knows about all of the windows; when the last window is closed, the monitor object goes away and ends the session.
Definition at line 50 of file gtkStatsWindow.h.
|
Definition at line 38 of file gtkStatsWindow.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 menu_open_strip_chart(). |
|
Reimplemented in GtkStatsPianoWindow, and GtkStatsStripWindow. Definition at line 128 of file gtkStatsWindow.cxx. References _file_menu. Referenced by GtkStatsPianoWindow::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.
Reimplemented in GtkStatsPianoWindow, and GtkStatsStripWindow. Definition at line 102 of file gtkStatsWindow.cxx. References _monitor, and new_collector(). |
|
Definition at line 236 of file gtkStatsWindow.cxx. |
|
Definition at line 224 of file gtkStatsWindow.cxx. |
|
Definition at line 248 of file gtkStatsWindow.cxx. |
|
Reimplemented in GtkStatsPianoWindow, and GtkStatsStripWindow. Definition at line 213 of file gtkStatsWindow.cxx. |
|
Open up a new piano-roll style window for the main thread.
Definition at line 201 of file gtkStatsWindow.cxx. References _monitor. Referenced by new_collector(). |
|
Open up a new strip-chart style window for the main thread.
Definition at line 186 of file gtkStatsWindow.cxx. References destruct(). Referenced by 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 _file_menu, menu_open_piano_roll(), and menu_open_strip_chart(). Referenced by 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 in GtkStatsPianoWindow, and GtkStatsStripWindow. Definition at line 142 of file gtkStatsWindow.cxx. References _file_menu, _main_box, and _menu. Referenced by GtkStatsStripWindow::idle(). |
|
|
|
Sets the title bar appropriately, once the client's information is known.
Definition at line 78 of file gtkStatsWindow.cxx. |
|
Definition at line 75 of file gtkStatsWindow.h. Referenced by idle(), new_collector(), and setup_menu(). |
|
Definition at line 73 of file gtkStatsWindow.h. Referenced by GtkStatsWindow(), and setup_menu(). |
|
Definition at line 74 of file gtkStatsWindow.h. Referenced by GtkStatsWindow(), setup_menu(), GtkStatsStripWindow::setup_menu(), and GtkStatsPianoWindow::setup_menu(). |
|
Definition at line 71 of file gtkStatsWindow.h. Referenced by GtkStatsStripWindow::layout_window(), mark_dead(), GtkStatsStripWindow::mark_dead(), GtkStatsStripWindow::menu_hscale(), and menu_open_piano_roll(). |