/* Blinker
Copyright 2011 Stefan Schuermans <stefan@blinkenarea.org>
Copyleft GNU public license - http://www.gnu.org/copyleft/gpl.html
a blinkenarea.org project */
#ifndef STREAMRECV_H
#define STREAMRECV_H
#include <string>
#include <BlinkenLib/BlinkenFrame.h>
namespace Blinker {
/// video stream receiver interface
class StreamRecv
{
public:
/// constructor
StreamRecv();
/// virtual destructor
virtual ~StreamRecv();
public:
/**
* @brief set current frame
* @param[in] stream stream name
* @param[in] pFrame current frame
*/
virtual void setFrame(const std::string &stream, stBlinkenFrame *pFrame) = 0;
/**
* @brief set current frame to none
* @param[in] stream stream name
*/
virtual void setNoFrame(const std::string &stream) = 0;
}; // class StreamRecv
} // namespace Blinker
#endif // #ifndef STREAMRECV_H