ACT-CV - Machine Vision for Cognitive Modeling
|
observer for frames: abstract base class More...
#include <FrameObserver.h>
Public Member Functions | |
virtual void | FrameNotify (IplImage *img, int frameNr)=0 |
notification of a new frame More... | |
virtual void | RegionInfoNotify (const std::vector< RegionInfo > ®ions) |
virtual const char * | GetName () const =0 |
the name of the observer More... | |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
observer for frames: abstract base class
Definition at line 68 of file FrameObserver.h.
|
pure virtual |
notification of a new frame
Implemented in AttendedLocObs, FrameObsAutoGray, TextObs, DiffObs, ColorObs, MatchObs, FrameObsWindow, WriterObs, FpsFrameObs, and tests::DummyFrameObserver.
Referenced by ColorObs::FrameNotify(), DiffObs::FrameNotify(), TextObs::FrameNotify(), AttendedLocObs::FrameNotify(), OFlowObs::FrameNotifyGray(), and LineObs::FrameNotifyGray().
|
pure virtual |
the name of the observer
This is used to avoid that two instances of the same observer class are added to the observer list.
Implemented in LineObs, MatchContourObs, OFlowObs, AttendedLocObs, TextObs, DiffObs, ColorObs, MatchObs, FrameObsWindow, WriterObs, FpsFrameObs, and tests::DummyFrameObserver.
Referenced by FrameObsSupport::AddObserver(), and FrameObsSupport::RemoveObserver().
|
virtual |
Reimplemented in TextObs.
Definition at line 73 of file FrameObserver.h.