|
C3D Toolkit
Kernel - 118057, Vision - 2.14.7.1821
|
The wrapper of the execution progress indicator. More...
#include <alg_indicator.h>
Inheritance diagram for ProgressBarWrapper:
Collaboration diagram for ProgressBarWrapper:Public Member Functions | |
| ProgressBarWrapper (IProgressIndicator &pBar) | |
| Constructor by an indicator of execution progress. | |
| virtual | ~ProgressBarWrapper () |
| Destructor. | |
| bool | IsCancel () |
| Check whether a process stopped. | |
| void | Success () |
| End the process. | |
| void | Stop () |
| Stop the process. | |
| bool | Reset () |
| Restoring of a process data. | |
| bool | Init (size_t range, size_t delta, size_t value, IStrData &msg) |
| Set the state. | |
| bool | Init (size_t range, size_t delta, size_t value) |
| Set the state. | |
| size_t | GetValue () const |
| Get the current state of a progress. | |
| bool | SetName (IStrData &msg) |
| Set the name of a process. | |
| bool | SetProgress (size_t v) |
| Increase the execution progress. | |
| ProgressBarWrapper & | CreateChildAddRef (IStrData &msg) const |
| Create a successor (if 'msg' is empty, then the name of a parent is used). | |
| ProgressBarWrapper & | CreateChild (IStrData &msg) const |
| Create a successor (if 'msg' is empty, then the name of a parent is used). | |
| void | UseParentName (bool s) |
| Use a base name while creating a successor. | |
| bool | IsParentNameUsed () const |
| Whether a base name is used. | |
| ProgressBarWrapper * | GetParent () |
| Get parent progress indicator. | |
| IProgressIndicator * | GetCommonProgress () |
| Get common progress indicator. | |
Public Member Functions inherited from MbRefItem | |
| virtual MbeRefType | RefType () const |
| Registration type (for copying, duplication). | |
| void | AddRegistrator (MbRegDuplicate *reg) const |
| Add the register. | |
| void | RemoveRegistrator (MbRegDuplicate *reg) const |
| Remove the register. | |
| refcount_t | GetUseCount () const |
| Get count of references (get count of owners of an object). | |
| refcount_t | AddRef () const |
| Increase count of references by one. | |
| refcount_t | DecRef () const |
| Decrease count of references by one. | |
| refcount_t | Release () const |
| Decrease count of references by one and if count of references became zero, then remove itself. | |
Additional Inherited Members | |
Protected Member Functions inherited from MbRefItem | |
| MbRefItem () | |
| Constructor without parameters. | |
The wrapper of the execution progress indicator.
The wrapper of the execution progress indicator (thread-safe provided that IProgressIndicator implementation is also thread-safe).