#include <vuSimpleProgressHandler.h>
Inheritance diagram for vuSimpleProgressHandler:
Public Member Functions | |
vuSimpleProgressHandler (wxWindow *parent, const wxString title="Progress Bar", const wxString message="", int style=wxPD_AUTO_HIDE|wxPD_APP_MODAL|wxPD_CAN_ABORT, int range=1000) | |
virtual | ~vuSimpleProgressHandler () |
bool | update (int newProgressValue, const char *msg=NULL) |
void | setRange (int range) |
int | getRange () |
int | getCurrentProgress () |
Private Attributes | |
wxString | m_Title |
wxString | m_Message |
int | m_Style |
wxWindow * | m_Parent |
wxProgressDialog * | m_Progress |
int | m_Range |
int | m_CurrentProgress |
Definition at line 11 of file vuSimpleProgressHandler.h.
|
Definition at line 3 of file vuSimpleProgressHandler.cpp. References m_CurrentProgress, m_Message, m_Parent, m_Progress, m_Range, m_Style, and m_Title. |
|
Definition at line 19 of file vuSimpleProgressHandler.cpp. References CHECKNDELETE, and m_Progress. |
|
returns the current progress value, which is updated by update(int, char*) Implements vuProgressHandler. Definition at line 35 of file vuSimpleProgressHandler.cpp. |
|
Implements vuProgressHandler. Definition at line 29 of file vuSimpleProgressHandler.cpp. |
|
The range specifies the value, which represents the '100% completed' mark. The range can be manipulated to allow nest calls (see example above).
Implements vuProgressHandler. Definition at line 24 of file vuSimpleProgressHandler.cpp. References m_Range. |
|
updates the progress bar and additionally gives some message Implements vuProgressHandler. Definition at line 40 of file vuSimpleProgressHandler.cpp. References m_CurrentProgress, and m_Progress. |
|
Definition at line 42 of file vuSimpleProgressHandler.h. Referenced by update(), and vuSimpleProgressHandler(). |
|
Definition at line 37 of file vuSimpleProgressHandler.h. Referenced by vuSimpleProgressHandler(). |
|
Definition at line 39 of file vuSimpleProgressHandler.h. Referenced by vuSimpleProgressHandler(). |
|
Definition at line 40 of file vuSimpleProgressHandler.h. Referenced by update(), vuSimpleProgressHandler(), and ~vuSimpleProgressHandler(). |
|
Definition at line 41 of file vuSimpleProgressHandler.h. Referenced by setRange(), and vuSimpleProgressHandler(). |
|
Definition at line 38 of file vuSimpleProgressHandler.h. Referenced by vuSimpleProgressHandler(). |
|
Definition at line 36 of file vuSimpleProgressHandler.h. Referenced by vuSimpleProgressHandler(). |