ACT-CV - Machine Vision for Cognitive Modeling
|
simple video writer More...
#include <FrameObserver.h>
Public Member Functions | |
WriterObs (const char *fname="actcv-out.mpg") | |
~WriterObs () | |
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 | |
CvVideoWriter * | pWriter |
const char * | videoFName |
simple video writer
Definition at line 159 of file FrameObserver.h.
WriterObs::WriterObs | ( | const char * | fname = "actcv-out.mpg" ) |
Definition at line 163 of file FrameObserver.h.
WriterObs::~WriterObs | ( | ) |
Definition at line 167 of file FrameObserver.h.
References pWriter.
|
virtual |
notification of a new frame
Implements FrameObs.
Definition at line 173 of file FrameObserver.h.
References pWriter, and videoFName.
|
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 181 of file FrameObserver.h.
|
private |
Definition at line 160 of file FrameObserver.h.
Referenced by FrameNotify(), and ~WriterObs().
|
private |
Definition at line 161 of file FrameObserver.h.
Referenced by FrameNotify().