Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Core::ImageSet::Reporter Class Reference

Reports to the user on progress made in processing a ImageSet. More...

#include <Reporter.h>

Inheritance diagram for Impala::Core::ImageSet::Reporter:

Inheritance graph
[legend]
Collaboration diagram for Impala::Core::ImageSet::Reporter:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Reporter (Reporter *master)
virtual void HandleNewWalk (ImageSet *is)
 Start of a "normal" walk.
virtual void HandleNewWalk (ImageSet *is, int nrBookmarks)
 Start of a "bookmark" walk.
virtual void HandleNewDir (ImageSet *is, int dirId)
 Arrived at given DB_DIR in a "normal" walk.
virtual void HandleDoneDir (ImageSet *is, int dirId)
 Completed given DB_DIR in a "normal" walk.
virtual void HandleNewFile (ImageSet *is, int fileId, Array::Array2dVec3UInt8 *im)
 Arrived at given DB_FILE in a "normal" walk.
virtual void HandleNewFile (ImageSet *is, int fileId, Array::Array2dVec3UInt8 *im, Geometry::Rectangle rect, String anno)
 Arrived at given DB_FILE in a "bookmark" walk.
virtual void HandleDoneWalk (ImageSet *is)
 End of a "normal" walk.
virtual void HandleDoneWalk (ImageSet *is, int nrBookmarks)
 End of a "bookmark" walk.
void SetReportArray (bool flag)
void FinalReport ()
bool DoPrint ()

Private Member Functions

void AllDoneFile ()

Private Attributes

ReportermMaster
int mReport
int mNrDone
bool mReportArray
Timer mTimerTotal
Timer mTimerReport
bool mDoPrint
int mNrBookmarks
 ILOG_VAR_DEC

Detailed Description

Reports to the user on progress made in processing a ImageSet.

Typically, the master reporter is registered as the first ImageSetListener followed by the real ImageSetListeners and finally the slave reporter. The non-reporter listeners inform the master reporter of errors encountered. The slave reporter is used only to inform the master that all other DocumentListeners are done.

Definition at line 24 of file Reporter.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:15:18 2010 for ImpalaSrc by  doxygen 1.5.1