#include <cwindowtool.h>
Inherits Thread.

Public Member Functions | |
| CWindowTool (MWindow *mwindow, CWindowGUI *gui) | |
| ~CWindowTool () | |
| void | start_tool (int operation) |
| void | stop_tool () |
| void | show_tool () |
| void | hide_tool () |
| void | run () |
| void | update_show_window () |
| void | update_values () |
Data Fields | |
| MWindow * | mwindow |
| CWindowGUI * | gui |
| CWindowToolGUI * | tool_gui |
| int | done |
| int | current_tool |
| Condition * | input_lock |
| Condition * | output_lock |
| Mutex * | tool_gui_lock |
Definition at line 16 of file cwindowtool.h.
| CWindowTool::CWindowTool | ( | MWindow * | mwindow, | |
| CWindowGUI * | gui | |||
| ) |
Definition at line 28 of file cwindowtool.C.
References current_tool, done, input_lock, output_lock, Thread::set_synchronous(), tool_gui, and tool_gui_lock.

| CWindowTool::~CWindowTool | ( | ) |
Definition at line 42 of file cwindowtool.C.
References done, input_lock, Thread::join(), output_lock, stop_tool(), tool_gui_lock, and Condition::unlock().

| void CWindowTool::start_tool | ( | int | operation | ) |
Definition at line 53 of file cwindowtool.C.
References CWindowToolGUI::create_objects(), current_tool, MWindow::edl, BC_WindowBase::flush(), input_lock, Condition::lock(), BC_WindowBase::lock_window(), mwindow, output_lock, MWindow::session, EDL::session, MainSession::show_cwindow, BC_WindowBase::show_window(), stop_tool(), tool_gui, EDLSession::tool_window, Condition::unlock(), BC_WindowBase::unlock_window(), and CWindowToolGUI::update().
Referenced by CWindowGUI::set_operation().

| void CWindowTool::stop_tool | ( | ) |
Definition at line 119 of file cwindowtool.C.
References BC_WindowBase::lock_window(), BC_WindowBase::set_done(), tool_gui, and BC_WindowBase::unlock_window().
Referenced by start_tool(), and ~CWindowTool().

| void CWindowTool::show_tool | ( | ) |
Definition at line 129 of file cwindowtool.C.
References MWindow::edl, BC_WindowBase::lock_window(), mwindow, EDL::session, BC_WindowBase::show_window(), tool_gui, EDLSession::tool_window, and BC_WindowBase::unlock_window().
Referenced by CWindow::show_window().

| void CWindowTool::hide_tool | ( | ) |
Definition at line 139 of file cwindowtool.C.
References MWindow::edl, BC_WindowBase::hide_window(), BC_WindowBase::lock_window(), mwindow, EDL::session, tool_gui, EDLSession::tool_window, and BC_WindowBase::unlock_window().
Referenced by CWindow::hide_window().

| void CWindowTool::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 150 of file cwindowtool.C.
References done, input_lock, Mutex::lock(), Condition::lock(), output_lock, BC_WindowBase::run_window(), tool_gui, tool_gui_lock, Condition::unlock(), and Mutex::unlock().

| void CWindowTool::update_show_window | ( | ) |
Definition at line 167 of file cwindowtool.C.
References MWindow::edl, BC_WindowBase::flush(), BC_WindowBase::hide_window(), BC_WindowBase::lock_window(), mwindow, EDL::session, BC_WindowBase::show_window(), tool_gui, EDLSession::tool_window, BC_WindowBase::unlock_window(), and CWindowToolGUI::update().
Referenced by CPanelToolWindow::handle_event(), and CPanelToolWindow::set_shown().

| void CWindowTool::update_values | ( | ) |
Definition at line 186 of file cwindowtool.C.
References BC_WindowBase::flush(), Mutex::lock(), BC_WindowBase::lock_window(), tool_gui, tool_gui_lock, Mutex::unlock(), BC_WindowBase::unlock_window(), and CWindowToolGUI::update().
Referenced by CWindowGUI::update_tool().

Definition at line 34 of file cwindowtool.h.
Referenced by hide_tool(), show_tool(), start_tool(), and update_show_window().
Definition at line 36 of file cwindowtool.h.
Referenced by CWindowCropGUI::create_objects(), CWindowTool(), hide_tool(), run(), show_tool(), start_tool(), stop_tool(), update_show_window(), and update_values().
Definition at line 37 of file cwindowtool.h.
Referenced by CWindowTool(), run(), and ~CWindowTool().
Definition at line 39 of file cwindowtool.h.
Referenced by CWindowTool(), run(), start_tool(), and ~CWindowTool().
Definition at line 40 of file cwindowtool.h.
Referenced by CWindowTool(), run(), start_tool(), and ~CWindowTool().
Definition at line 42 of file cwindowtool.h.
Referenced by CWindowTool(), run(), update_values(), and ~CWindowTool().
1.5.5