UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
ZmProgress Class Reference
Inheritance diagram for ZmProgress:
Progress

Public Member Functions

 ZmProgress (Widget wParent, const char *id="unknown")
 
virtual ~ZmProgress ()
 
virtual void set_comment (const char *text)
 
virtual Logic user_break ()
 
- Public Member Functions inherited from Progress
 Progress (const char *id="unknown")
 
virtual ~Progress ()
 
void set_max (double max_value)
 
void add_value (double incr_value)
 
double scale (double fMax)
 
int scale (int iMax)
 
bool check_limits ()
 
virtual void set_limits (double min_value, double max_value)
 
virtual void set_value (double cur_value)
 

Protected Member Functions

virtual void update ()
 

Static Protected Member Functions

static void break_cb (Widget w, XtPointer pUserData, XtPointer pCallData)
 

Protected Attributes

Widget wDialogShell
 
Widget wMainForm
 
Widget wStageLabel
 
Widget wSeparator
 
Widget wBreakButton
 
Widget wProgress
 
Logic bUserBreak
 
- Protected Attributes inherited from Progress
char * szName
 
double vMin
 
double vMax
 
double vCur
 

Constructor & Destructor Documentation

ZmProgress::ZmProgress ( Widget  wParent,
const char *  id = "unknown" 
)

Create object which relates to progress indicator and mange the dialog window.

virtual ZmProgress::~ZmProgress ( )
virtual

Close the dialog and destroy the object.

Member Function Documentation

static void ZmProgress::break_cb ( Widget  w,
XtPointer  pUserData,
XtPointer  pCallData 
)
staticprotected

Callback for breaking the process

virtual void ZmProgress::set_comment ( const char *  text)
virtual

Set minimum and maximum allowed values of progress indicator Set current value of progress; must be in range from 0 to max_value Change text comment of the progress indicator view.

Reimplemented from Progress.

virtual void ZmProgress::update ( )
protectedvirtual

Update progress indicator view

Reimplemented from Progress.

virtual Logic ZmProgress::user_break ( )
virtual

Get interruption signal is set (TRUE) or not (FALSE).

Reimplemented from Progress.

Member Data Documentation

Logic ZmProgress::bUserBreak
protected

user break flag

Widget ZmProgress::wBreakButton
protected

Pressing will emit user break

Widget ZmProgress::wProgress
protected

Progress bar itself

Widget ZmProgress::wStageLabel
protected

Text comment


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