CWindowTool Class Reference

#include <cwindowtool.h>

Inherits Thread.

Collaboration diagram for CWindowTool:

Collaboration graph
[legend]

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

MWindowmwindow
CWindowGUIgui
CWindowToolGUItool_gui
int done
int current_tool
Conditioninput_lock
Conditionoutput_lock
Mutextool_gui_lock

Detailed Description

Definition at line 16 of file cwindowtool.h.


Constructor & Destructor Documentation

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.

Here is the call graph for this function:

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().

Here is the call graph for this function:


Member Function Documentation

void CWindowTool::start_tool ( int  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().

Here is the call graph for this function:

void CWindowTool::show_tool (  ) 

void CWindowTool::hide_tool (  ) 

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().

Here is the call graph for this function:

void CWindowTool::update_show_window (  ) 

void CWindowTool::update_values (  ) 


Field Documentation

Definition at line 34 of file cwindowtool.h.

Referenced by hide_tool(), show_tool(), start_tool(), and update_show_window().

Definition at line 35 of file cwindowtool.h.

Referenced by CWindowToolGUI::close_event().

Definition at line 37 of file cwindowtool.h.

Referenced by CWindowTool(), run(), and ~CWindowTool().

Definition at line 38 of file cwindowtool.h.

Referenced by CWindowTool(), and start_tool().

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().


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

Generated on Mon Apr 28 14:21:14 2008 for Cinelerra by  doxygen 1.5.5