ACT-CV - Machine Vision for Cognitive Modeling
Public Member Functions | Private Attributes | List of all members
tests::DummyFrameObserver Class Reference

dummy vision observer More...

#include <FrameObsTest.h>

Inheritance diagram for tests::DummyFrameObserver:
Inheritance graph
Collaboration diagram for tests::DummyFrameObserver:
Collaboration graph

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 > &regions)
- Public Member Functions inherited from ReferenceCount
 ReferenceCount ()
virtual ~ReferenceCount ()
void IncRefCount ()
void DecRefCount ()

Private Attributes

int * counter
std::string name

Detailed Description

dummy vision observer

Definition at line 51 of file FrameObsTest.h.

Constructor & Destructor Documentation

tests::DummyFrameObserver::DummyFrameObserver ( int *  c = 0,
std::string  n = "DummyFrameObserver" 

Definition at line 55 of file FrameObsTest.h.

Member Function Documentation

void tests::DummyFrameObserver::FrameNotify ( IplImage *  img,
int  frameNr 

notification of a new frame

Implements FrameObs.

Definition at line 56 of file FrameObsTest.h.

References counter.

const char* tests::DummyFrameObserver::GetName ( ) const

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

Implements FrameObs.

Definition at line 59 of file FrameObsTest.h.

References name.

Member Data Documentation

int* tests::DummyFrameObserver::counter

Definition at line 52 of file FrameObsTest.h.

Referenced by FrameNotify().

std::string tests::DummyFrameObserver::name

Definition at line 53 of file FrameObsTest.h.

Referenced by GetName().

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

ACT-CV - Machine Vision for Cognitive Modeling
© 2015 Marc Halbruegge (