#include <bcdialog.h>
Inherits Thread.
Inherited by BatchRenderThread, BC_DeleteThread, ConfirmScanThread, MainError, and TipWindow.

Public Member Functions | |
| BC_DialogThread () | |
| virtual | ~BC_DialogThread () |
| void | start () |
| void | run () |
| virtual void | handle_done_event (int result) |
| virtual void | handle_close_event (int result) |
| virtual BC_Window * | new_gui () |
| BC_Window * | get_gui () |
| void | lock_window (char *location) |
| void | unlock_window () |
Private Attributes | |
| BC_Window * | gui |
| Condition * | startup_lock |
| Mutex * | window_lock |
Definition at line 16 of file bcdialog.h.
| BC_DialogThread::BC_DialogThread | ( | ) |
| BC_DialogThread::~BC_DialogThread | ( | ) | [virtual] |
Definition at line 17 of file bcdialog.C.
References gui, Thread::join(), Condition::lock(), BC_WindowBase::lock_window(), BC_WindowBase::set_done(), startup_lock, Condition::unlock(), BC_WindowBase::unlock_window(), and window_lock.

| void BC_DialogThread::start | ( | ) |
Reimplemented from Thread.
Definition at line 43 of file bcdialog.C.
References gui, Condition::lock(), Mutex::lock(), BC_WindowBase::lock_window(), BC_WindowBase::raise_window(), Thread::running(), Thread::start(), startup_lock, Condition::unlock(), Mutex::unlock(), BC_WindowBase::unlock_window(), and window_lock.
Referenced by BC_FileBoxDelete::handle_event(), BatchRenderMenuItem::handle_event(), MWindow::init_tipwindow(), ChannelEditWindow::scan_confirm(), and MainError::show_error_local().

| void BC_DialogThread::run | ( | ) | [virtual] |
Implements Thread.
Definition at line 67 of file bcdialog.C.
References gui, handle_close_event(), handle_done_event(), Mutex::lock(), new_gui(), BC_WindowBase::run_window(), startup_lock, Mutex::unlock(), Condition::unlock(), and window_lock.

| void BC_DialogThread::handle_done_event | ( | int | result | ) | [virtual] |
Reimplemented in ConfirmScanThread, and BC_DeleteThread.
Definition at line 94 of file bcdialog.C.
Referenced by run().
| void BC_DialogThread::handle_close_event | ( | int | result | ) | [virtual] |
| BC_Window * BC_DialogThread::new_gui | ( | ) | [virtual] |
Reimplemented in BatchRenderThread, ConfirmScanThread, MainError, TipWindow, and BC_DeleteThread.
Definition at line 83 of file bcdialog.C.
Referenced by run().
| BC_Window * BC_DialogThread::get_gui | ( | ) |
Definition at line 89 of file bcdialog.C.
References gui.
Referenced by ConfirmScanThread::handle_done_event(), and MainError::show_error_local().
| void BC_DialogThread::lock_window | ( | char * | location | ) |
Definition at line 33 of file bcdialog.C.
References Mutex::lock(), and window_lock.
Referenced by MainError::show_error_local().

| void BC_DialogThread::unlock_window | ( | ) |
Definition at line 38 of file bcdialog.C.
References Mutex::unlock(), and window_lock.
Referenced by MainError::show_error_local().

BC_Window* BC_DialogThread::gui [private] |
Reimplemented in BatchRenderThread, ConfirmScanThread, and TipWindow.
Definition at line 41 of file bcdialog.h.
Referenced by BC_DialogThread(), get_gui(), MainError::new_gui(), run(), MainError::show_error_local(), start(), and ~BC_DialogThread().
Condition* BC_DialogThread::startup_lock [private] |
Definition at line 42 of file bcdialog.h.
Referenced by BC_DialogThread(), run(), start(), and ~BC_DialogThread().
Mutex* BC_DialogThread::window_lock [private] |
Definition at line 43 of file bcdialog.h.
Referenced by BC_DialogThread(), lock_window(), run(), start(), unlock_window(), and ~BC_DialogThread().
1.5.5