1 #ifndef IMAGE_GRABBER_H
2 #define IMAGE_GRABBER_H
8 #include <interfaces/IImageStreamExtractor.h>
20 virtual const char*
what()
const throw();
35 virtual void addEndpoint(
const std::string & _endpoint) = 0;
53 const std::string & _deviceType,
54 const std::string & _deviceSource,
56 const std::string & _brokerEndpoint);
Base for all ImageGrabber related exceptions.
virtual ~_ImageGrabberImpl()=0
virtual const char * what() const
virtual int getHeight()=0
virtual void startServing()=0
virtual int getBytesPerPixel()=0
ImageGrabber(const std::string &_deviceName, const std::string &_deviceType, const std::string &_deviceSource, zmq::context_t &ctx, const std::string &_brokerEndpoint)
Setup a grabber.
ImageGrabberException(const std::string &_message)
virtual void addEndpoint(const std::string &_endpoint)=0
void startServing()
Start the server asynchronously.
virtual void stopServing()=0
Public interface to an ImageGrabber grabber.
void stopServing()
Stop the server.
void addEndpoint(const std::string &_endpoint)
Add a publisher endpoint.