![]() |
Gray C++ Libraries
0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
|
#include <cStreamProgress.h>
Public Member Functions | |
cStreamProgressChunk (cStreamProgressF &prog, int iSubChunks, int iParentChunks=1) | |
~cStreamProgressChunk () | |
void | IncChunk (int iChunks=1) |
Track nested work load. Processing a tree.
|
inline |
Start a sub-chunk of the task. expect iChunks in this task. IncChunk() will be called. iParentChunks = the number of m_nTotal we represent. ASSUME caller will IncChunk(iParentChunks) after this is destructed.
|
inline |
complete the task.
|
inline |
We are making some progress at the current task. ASSERT(prog.m_nTotal);