#include <ProgressResource.h>

Public Member Functions | |
| ProgressResource (const std::string &caption=std::string(), bool threadSafe=false) | |
| ProgressResource (Progress &progress, const std::string &caption=std::string()) | |
This resource creates a Progress objects and destroys it when going out of scope. Optionally, a ProgressDialog will be created for the Progress object. The second form of this resource takes ownership of an existing Progress object.
Definition at line 78 of file ProgressResource.h.
| ProgressResource::ProgressResource | ( | const std::string & | caption = std::string(), |
|
| bool | threadSafe = false | |||
| ) | [explicit] |
Constructs a Resource object that manages a Progress object.
This creates a new Progress object and optionally associates a ProgressDialog with it.
| caption | If this is not empty, a ProgressDialog will be created with this caption. | |
| threadSafe | If true, a thread-safe Progress object is created. |
Definition at line 93 of file ProgressResource.h.
| ProgressResource::ProgressResource | ( | Progress & | progress, | |
| const std::string & | caption = std::string() | |||
| ) | [explicit] |
Constructs a Resource object that manages a Progress object.
This takes ownership of an existing Progress object and optionally associates a ProgressDialog with it.
| progress | The exisiting Progress object. | |
| caption | If this is not empty, a ProgressDialog will be created with this caption. |
Definition at line 108 of file ProgressResource.h.