osgEarth 2.1.1
|
Public Member Functions | |
ConsoleProgressCallback () | |
virtual | ~ConsoleProgressCallback () |
virtual bool | reportProgress (double current, double total, const std::string &msg=std::string()) |
ConsoleProgressCallback is a simple ProgressCallback that reports progress to the console
ConsoleProgressCallback::ConsoleProgressCallback | ( | ) |
Creates a new ConsoleProgressCallback
Definition at line 40 of file Progress.cpp.
: ProgressCallback() { //NOP }
virtual osgEarth::ConsoleProgressCallback::~ConsoleProgressCallback | ( | ) | [inline, virtual] |
bool ConsoleProgressCallback::reportProgress | ( | double | current, |
double | total, | ||
const std::string & | msg = std::string() |
||
) | [virtual] |
Callback function that will be called.
current | The current amount of work to be done. |
total | The total amount of work to be done. |
returns | Returns true if the current task should be cancelled, false otherwise. |
Reimplemented from osgEarth::ProgressCallback.
Definition at line 47 of file Progress.cpp.