runMACS
 All Data Structures Files Functions Variables Enumerations Enumerator Macros
Public Member Functions | Protected Attributes
Extractor Class Referenceabstract

Base class for an image extractor. More...

#include <Extractor.h>

Inheritance diagram for Extractor:
FFMpegExtractor FileStorageExtractor StatsExtractor ZmqPubExtractor

Public Member Functions

 Extractor (zmq::context_t &_ctx, const PubSubEndpoint &_source, double _wantedFPS=0)
 
virtual ~Extractor ()=0
 
void startServing ()
 
void stopServing ()
 
virtual std::string type ()=0
 
virtual std::string identifier ()=0
 
virtual std::list< std::string > parameters ()=0
 

Protected Attributes

zmq::context_t & ctx
 
PubSubEndpoint source
 
volatile bool keepGoing
 

Detailed Description

Base class for an image extractor.

An image extractor is an object which receives image data from an image source and processes the data image by image in real time.

Definition at line 17 of file Extractor.h.

Constructor & Destructor Documentation

Extractor::Extractor ( zmq::context_t &  _ctx,
const PubSubEndpoint _source,
double  _wantedFPS = 0 
)

Definition at line 7 of file Extractor.cpp.

Extractor::~Extractor ( )
pure virtual

Definition at line 16 of file Extractor.cpp.

Member Function Documentation

virtual std::string Extractor::identifier ( )
pure virtual
virtual std::list<std::string> Extractor::parameters ( )
pure virtual
void Extractor::startServing ( )

Definition at line 20 of file Extractor.cpp.

void Extractor::stopServing ( )

Definition at line 25 of file Extractor.cpp.

virtual std::string Extractor::type ( )
pure virtual

Field Documentation

zmq::context_t& Extractor::ctx
protected

Definition at line 27 of file Extractor.h.

volatile bool Extractor::keepGoing
protected

Definition at line 29 of file Extractor.h.

PubSubEndpoint Extractor::source
protected

Definition at line 28 of file Extractor.h.


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