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

show the images in a named window More...

#include <FrameObserver.h>

Inheritance diagram for FrameObsWindow:
Inheritance graph
Collaboration diagram for FrameObsWindow:
Collaboration graph

Public Member Functions

 FrameObsWindow (const char *s)
 
 ~FrameObsWindow ()
 
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

std::string name
 

Detailed Description

show the images in a named window

Definition at line 188 of file FrameObserver.h.

Constructor & Destructor Documentation

FrameObsWindow::FrameObsWindow ( const char *  s)

Definition at line 191 of file FrameObserver.h.

References MHDBGMSG, and name.

FrameObsWindow::~FrameObsWindow ( )

Definition at line 198 of file FrameObserver.h.

References MHDBGMSG, and name.

Member Function Documentation

void FrameObsWindow::FrameNotify ( IplImage *  img,
int  frameNr 
)
virtual

notification of a new frame

Implements FrameObs.

Definition at line 203 of file FrameObserver.h.

References MHDBGMSG, MHDBGMSG_P, and name.

const char* FrameObsWindow::GetName ( ) const
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

Implements FrameObs.

Definition at line 209 of file FrameObserver.h.

Member Data Documentation

std::string FrameObsWindow::name
private

Definition at line 189 of file FrameObserver.h.

Referenced by FrameNotify(), FrameObsWindow(), and ~FrameObsWindow().


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


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