Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
Gray::cStreamProgressChunk Class Reference

#include <cStreamProgress.h>

Public Member Functions

 cStreamProgressChunk (cStreamProgressF &prog, int iSubChunks, int iParentChunks=1)
 
 ~cStreamProgressChunk ()
 
void IncChunk (int iChunks=1)
 

Detailed Description

Track nested work load. Processing a tree.

Constructor & Destructor Documentation

◆ cStreamProgressChunk()

Gray::cStreamProgressChunk::cStreamProgressChunk ( cStreamProgressF prog,
int  iSubChunks,
int  iParentChunks = 1 
)
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.

◆ ~cStreamProgressChunk()

Gray::cStreamProgressChunk::~cStreamProgressChunk ( )
inline

complete the task.

Member Function Documentation

◆ IncChunk()

void Gray::cStreamProgressChunk::IncChunk ( int  iChunks = 1)
inline

We are making some progress at the current task. ASSERT(prog.m_nTotal);


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