MainProgressBar Class Reference

#include <mainprogress.h>

Collaboration diagram for MainProgressBar:

Collaboration graph
[legend]

Public Member Functions

 MainProgressBar (MWindow *mwindow, MainProgress *mainprogress)
 ~MainProgressBar ()
void stop_progress ()
int is_cancelled ()
void update_title (char *string, int default_=1)
void update_length (int64_t length)
int update (int64_t value)
void get_time (char *text)
double get_time ()

Data Fields

BC_ProgressBoxprogress_box
BC_ProgressBarprogress_bar
MWindowmwindow
MainProgressmainprogress
char default_title [BCTEXTLEN]
Timereta_timer
int64_t last_eta
int64_t length

Private Member Functions

void start ()

Friends

class MainProgress

Detailed Description

Definition at line 15 of file mainprogress.h.


Constructor & Destructor Documentation

MainProgressBar::MainProgressBar ( MWindow mwindow,
MainProgress mainprogress 
)

Definition at line 11 of file mainprogress.C.

References eta_timer, progress_bar, and progress_box.

MainProgressBar::~MainProgressBar (  ) 

Definition at line 20 of file mainprogress.C.

References eta_timer, mainprogress, MainProgress::mwindow_progress, MainProgress::progress_bars, progress_box, and ArrayList< TYPE >::remove().

Here is the call graph for this function:


Member Function Documentation

void MainProgressBar::stop_progress (  ) 

int MainProgressBar::is_cancelled (  ) 

void MainProgressBar::update_title ( char *  string,
int  default_ = 1 
)

void MainProgressBar::update_length ( int64_t  length  ) 

int MainProgressBar::update ( int64_t  value  ) 

void MainProgressBar::get_time ( char *  text  ) 

Definition at line 165 of file mainprogress.C.

References eta_timer, Timer::get_scaled_difference(), TIME_HMS2, and Units::totext().

Referenced by PluginArray::run_plugins(), and Render::stop_progress().

Here is the call graph for this function:

double MainProgressBar::get_time (  ) 

Definition at line 174 of file mainprogress.C.

References eta_timer, and Timer::get_scaled_difference().

Here is the call graph for this function:

void MainProgressBar::start (  )  [private]

Definition at line 35 of file mainprogress.C.

References eta_timer, last_eta, progress_box, Thread::start(), and Timer::update().

Referenced by MainProgress::start_progress().

Here is the call graph for this function:


Friends And Related Function Documentation

friend class MainProgress [friend]

Definition at line 21 of file mainprogress.h.


Field Documentation

Definition at line 35 of file mainprogress.h.

Referenced by stop_progress(), update(), update_length(), and update_title().

Definition at line 36 of file mainprogress.h.

Referenced by is_cancelled(), and ~MainProgressBar().

Definition at line 38 of file mainprogress.h.

Referenced by MainProgress::start_progress(), update(), and update_title().

Definition at line 39 of file mainprogress.h.

Referenced by get_time(), MainProgressBar(), start(), update(), and ~MainProgressBar().

Definition at line 41 of file mainprogress.h.

Referenced by start(), and update().

Definition at line 42 of file mainprogress.h.

Referenced by MainProgress::start_progress(), and update().


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

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