15 #include "cxGrabberExport.h"
19 #include <QStringList>
23 #include "boost/shared_ptr.hpp"
29 typedef boost::shared_ptr<class Sender>
SenderPtr;
30 typedef boost::shared_ptr<class Streamer>
StreamerPtr;
39 class cxGrabber_EXPORT
Streamer :
public QObject
47 virtual void startStreaming(
SenderPtr sender) = 0;
48 virtual void stopStreaming() = 0;
49 virtual bool isStreaming() = 0;
51 void setSendInterval(
int milliseconds);
52 int getSendInterval()
const;
58 virtual void streamSlot() = 0;
61 void setInitialized(
bool initialized);
63 void createSendTimer(
bool singleshot =
false);
74 typedef std::map<QString, QString>
StringMap;
91 virtual QStringList getArgumentDescription() = 0;
92 virtual QString getType() = 0;
94 virtual void initialize(
StringMap arguments);
97 virtual void streamSlot() {std::cout <<
"THIS SHOULD NOT HAPPEN...." << std::endl;}