creaImageIO_lib
creaImageIO::TreeHandlerImageAdder::Progress Class Reference

#include <creaImageIOTreeHandlerImageAdder.h>

Public Member Functions

 Progress ()
 
 ~Progress ()
 
void Reset ()
 
int GetNumberScannedFiles () const
 
int GetNumberScannedDirs () const
 
int GetNumberHandledFiles () const
 
int GetNumberAddedFiles () const
 
void IncNumberScannedFiles ()
 
void IncNumberScannedDirs ()
 
void IncNumberHandledFiles ()
 
void IncNumberAddedFiles ()
 
void SetStop ()
 
bool GetStop () const
 

Private Attributes

bool mStop
 
int mNumberScannedFiles
 
int mNumberScannedDirs
 
int mNumberHandledFiles
 
int mNumberAddedFiles
 

Detailed Description

Structure which holds progress information To stop the image adder use SetStop()

Definition at line 73 of file creaImageIOTreeHandlerImageAdder.h.

Constructor & Destructor Documentation

creaImageIO::TreeHandlerImageAdder::Progress::Progress ( )
inline

Definition at line 76 of file creaImageIOTreeHandlerImageAdder.h.

References Reset().

76 { Reset(); }

Here is the call graph for this function:

creaImageIO::TreeHandlerImageAdder::Progress::~Progress ( )
inline

Definition at line 77 of file creaImageIOTreeHandlerImageAdder.h.

77 {}

Member Function Documentation

int creaImageIO::TreeHandlerImageAdder::Progress::GetNumberAddedFiles ( ) const
inline
int creaImageIO::TreeHandlerImageAdder::Progress::GetNumberHandledFiles ( ) const
inline

Definition at line 90 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberHandledFiles.

Referenced by creaImageIO::Gimmick::getSummary(), creaImageIO::WxGimmickView::OnAddProgress(), and operator<<().

90 { return mNumberHandledFiles; }

Here is the caller graph for this function:

int creaImageIO::TreeHandlerImageAdder::Progress::GetNumberScannedDirs ( ) const
inline

Definition at line 89 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberScannedDirs.

Referenced by creaImageIO::Gimmick::getSummary(), creaImageIO::WxGimmickView::OnAddProgress(), and operator<<().

89 { return mNumberScannedDirs; }

Here is the caller graph for this function:

int creaImageIO::TreeHandlerImageAdder::Progress::GetNumberScannedFiles ( ) const
inline

Definition at line 88 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberScannedFiles.

Referenced by creaImageIO::Gimmick::getSummary(), creaImageIO::WxGimmickView::OnAddProgress(), and operator<<().

88 { return mNumberScannedFiles; }

Here is the caller graph for this function:

bool creaImageIO::TreeHandlerImageAdder::Progress::GetStop ( ) const
inline

Definition at line 99 of file creaImageIOTreeHandlerImageAdder.h.

References mStop.

Referenced by creaImageIO::TreeHandlerImageAdder::AddDirectoryRecursor(), and creaImageIO::TreeHandlerImageAdder::AddFiles().

99 { return mStop; }

Here is the caller graph for this function:

void creaImageIO::TreeHandlerImageAdder::Progress::IncNumberAddedFiles ( )
inline

Definition at line 96 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberAddedFiles.

Referenced by creaImageIO::TreeHandlerImageAdder::AddFile().

96 { mNumberAddedFiles++; }

Here is the caller graph for this function:

void creaImageIO::TreeHandlerImageAdder::Progress::IncNumberHandledFiles ( )
inline

Definition at line 95 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberHandledFiles.

Referenced by creaImageIO::TreeHandlerImageAdder::AddDirectoryRecursor(), and creaImageIO::TreeHandlerImageAdder::AddFiles().

Here is the caller graph for this function:

void creaImageIO::TreeHandlerImageAdder::Progress::IncNumberScannedDirs ( )
inline

Definition at line 94 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberScannedDirs.

Referenced by creaImageIO::TreeHandlerImageAdder::AddDirectoryRecursor().

94 { mNumberScannedDirs++; }

Here is the caller graph for this function:

void creaImageIO::TreeHandlerImageAdder::Progress::IncNumberScannedFiles ( )
inline

Definition at line 93 of file creaImageIOTreeHandlerImageAdder.h.

References mNumberScannedFiles.

Referenced by creaImageIO::TreeHandlerImageAdder::AddDirectoryRecursor(), and creaImageIO::TreeHandlerImageAdder::AddFiles().

Here is the caller graph for this function:

void creaImageIO::TreeHandlerImageAdder::Progress::Reset ( )
inline
void creaImageIO::TreeHandlerImageAdder::Progress::SetStop ( )
inline

Definition at line 98 of file creaImageIOTreeHandlerImageAdder.h.

References mStop.

Referenced by creaImageIO::WxGimmickView::OnAddProgress().

98 { mStop = true; }

Here is the caller graph for this function:

Member Data Documentation

int creaImageIO::TreeHandlerImageAdder::Progress::mNumberAddedFiles
private
int creaImageIO::TreeHandlerImageAdder::Progress::mNumberHandledFiles
private
int creaImageIO::TreeHandlerImageAdder::Progress::mNumberScannedDirs
private
int creaImageIO::TreeHandlerImageAdder::Progress::mNumberScannedFiles
private
bool creaImageIO::TreeHandlerImageAdder::Progress::mStop
private

Definition at line 102 of file creaImageIOTreeHandlerImageAdder.h.

Referenced by GetStop(), Reset(), and SetStop().


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