ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | List of all members
FrameObs Class Referenceabstract

observer for frames: abstract base class More...

#include <FrameObserver.h>

Inheritance diagram for FrameObs:
Inheritance graph
Collaboration diagram for FrameObs:
Collaboration graph

Public Member Functions

virtual void FrameNotify (IplImage *img, int frameNr)=0
 notification of a new frame More...
 
virtual void RegionInfoNotify (const std::vector< RegionInfo > &regions)
 
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 ()
 

Detailed Description

observer for frames: abstract base class

Definition at line 68 of file FrameObserver.h.

Member Function Documentation

virtual void FrameObs::FrameNotify ( IplImage *  img,
int  frameNr 
)
pure virtual
virtual const char* FrameObs::GetName ( ) const
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.

See Also
FrameLoop

Implemented in LineObs, MatchContourObs, OFlowObs, AttendedLocObs, TextObs, DiffObs, ColorObs, MatchObs, FrameObsWindow, WriterObs, FpsFrameObs, and tests::DummyFrameObserver.

Referenced by FrameObsSupport::AddObserver(), and FrameObsSupport::RemoveObserver().

virtual void FrameObs::RegionInfoNotify ( const std::vector< RegionInfo > &  regions)
virtual

Reimplemented in TextObs.

Definition at line 73 of file FrameObserver.h.


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


ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (actcvlibrary@googlemail.com)