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

Impala::Core::VideoSet::Reporter Class Reference

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

#include <Reporter.h>

Inheritance diagram for Impala::Core::VideoSet::Reporter:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Reporter (Reporter *master)
virtual void HandleNewWalk (VideoSet *vs)
 Start of a "normal" walk.
virtual void HandleNewWalk (VideoSet *vs, int nrBookmarks)
 Start of a "bookmark" walk.
virtual void HandleNewFile (VideoSet *vs, int fileId, Stream::RgbDataSrc *src)
 Arrived at given DB_FILE in a "normal" walk.
virtual void HandleNewFile (VideoSet *vs, int fileId, Stream::RgbDataSrc *src, int bookmarkNr, Geometry::VxRectangle vr)
 Arrived at given DB_FILE in a "bookmark" walk.
virtual void HandleDoneFile (VideoSet *vs, int fileId, Stream::RgbDataSrc *src)
 Completed given DB_FILE in a "normal" walk.
virtual void HandleDoneFile (VideoSet *vs, int fileId, Stream::RgbDataSrc *src, int bookmarkNr, Geometry::VxRectangle vr)
 Completed given DB_FILE in a "bookmark" walk.
virtual void HandleNewShot (VideoSet *vs, int fileId, Stream::RgbDataSrc *src, int shotId)
 Arrived at a new shot in a "normal" walk.
virtual void HandleDoneShot (VideoSet *vs, int fileId, Stream::RgbDataSrc *src, int shotId)
 Completed given shot in a "normal" walk.
virtual void HandleNewFrame (VideoSet *vs, int fileId, Stream::RgbDataSrc *src)
 Arrived at a new frame in a "normal" walk.
virtual void HandleNewFrame (VideoSet *vs, int fileId, Stream::RgbDataSrc *src, Geometry::Rectangle rect, std::string anno)
 Arrived at a new frame in a "bookmark" walk.
virtual void HandleDoneWalk (VideoSet *vs)
 End of a "normal" walk.
virtual void HandleDoneWalk (VideoSet *vs, int nrBookmarks)
 End of a "bookmark" walk.
void FinalReport ()
bool DoPrint ()
void SetReportArray (bool flag)
void SetTotalNrFramesInBookmarks (int nr)

Private Member Functions

void AllDoneFrame ()

Private Attributes

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

Detailed Description

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

Typically, the master reporter is registered as the first VideoSetListener followed by the real VideoSetListeners 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:31:09 2010 for ImpalaSrc by  doxygen 1.5.1