ACT-CV - Machine Vision for Cognitive Modeling
|
dummy vision observer More...
#include <FrameObsTest.h>
Public Member Functions | |
DummyFrameObserver (int *c=0, std::string n="DummyFrameObserver") | |
void | FrameNotify (IplImage *img, int frameNr) |
notification of a new frame More... | |
const char * | GetName () const |
the name of the observer More... | |
Public Member Functions inherited from FrameObs | |
virtual void | RegionInfoNotify (const std::vector< RegionInfo > ®ions) |
Public Member Functions inherited from ReferenceCount | |
ReferenceCount () | |
virtual | ~ReferenceCount () |
void | IncRefCount () |
void | DecRefCount () |
Private Attributes | |
int * | counter |
std::string | name |
dummy vision observer
Definition at line 51 of file FrameObsTest.h.
tests::DummyFrameObserver::DummyFrameObserver | ( | int * | c = 0 , |
std::string | n = "DummyFrameObserver" |
||
) |
Definition at line 55 of file FrameObsTest.h.
|
virtual |
notification of a new frame
Implements FrameObs.
Definition at line 56 of file FrameObsTest.h.
References counter.
|
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.
Implements FrameObs.
Definition at line 59 of file FrameObsTest.h.
References name.
|
private |
Definition at line 52 of file FrameObsTest.h.
Referenced by FrameNotify().
|
private |
Definition at line 53 of file FrameObsTest.h.
Referenced by GetName().