BC_ProgressBox Class Reference

#include <bcprogressbox.h>

Inherits Thread.

Collaboration diagram for BC_ProgressBox:

Collaboration graph
[legend]

Public Member Functions

 BC_ProgressBox (int x, int y, char *text, int64_t length)
virtual ~BC_ProgressBox ()
void run ()
int update (int64_t position, int lock_it)
int update_title (char *title, int lock_it)
int update_length (int64_t length, int lock_it)
int is_cancelled ()
int stop_progress ()
void lock_window ()
void unlock_window ()

Private Attributes

BC_ProgressWindowpwindow
char * display
char * text
int cancelled
int64_t length

Friends

class BC_ProgressWindow

Detailed Description

Definition at line 10 of file bcprogressbox.h.


Constructor & Destructor Documentation

BC_ProgressBox::BC_ProgressBox ( int  x,
int  y,
char *  text,
int64_t  length 
)

BC_ProgressBox::~BC_ProgressBox (  )  [virtual]

Definition at line 28 of file bcprogressbox.C.

References pwindow.


Member Function Documentation

void BC_ProgressBox::run (  )  [virtual]

Implements Thread.

Definition at line 33 of file bcprogressbox.C.

References cancelled, pwindow, and BC_WindowBase::run_window().

Here is the call graph for this function:

int BC_ProgressBox::update ( int64_t  position,
int  lock_it 
)

int BC_ProgressBox::update_title ( char *  title,
int  lock_it 
)

int BC_ProgressBox::update_length ( int64_t  length,
int  lock_it 
)

int BC_ProgressBox::is_cancelled (  ) 

int BC_ProgressBox::stop_progress (  ) 

Definition at line 72 of file bcprogressbox.C.

References Thread::join(), pwindow, and BC_WindowBase::set_done().

Referenced by FileMPEG::create_index(), ThreadIndexer::run(), DC_Offset::run(), and MainProgressBar::stop_progress().

Here is the call graph for this function:

void BC_ProgressBox::lock_window (  ) 

Definition at line 79 of file bcprogressbox.C.

References BC_WindowBase::lock_window(), and pwindow.

Here is the call graph for this function:

void BC_ProgressBox::unlock_window (  ) 

Definition at line 84 of file bcprogressbox.C.

References pwindow, and BC_WindowBase::unlock_window().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class BC_ProgressWindow [friend]

Definition at line 16 of file bcprogressbox.h.

Referenced by BC_ProgressBox().


Field Documentation

char* BC_ProgressBox::display [private]

Definition at line 29 of file bcprogressbox.h.

char* BC_ProgressBox::text [private]

Definition at line 30 of file bcprogressbox.h.

Referenced by BC_RecentList::handle_event(), and BC_RecentList::load_items().

Definition at line 31 of file bcprogressbox.h.

Referenced by BC_ProgressBox(), is_cancelled(), run(), update(), update_length(), and update_title().

int64_t BC_ProgressBox::length [private]

Definition at line 32 of file bcprogressbox.h.


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

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