12 #ifndef CXIMAGESTREAMEROPENCV_H_ 13 #define CXIMAGESTREAMEROPENCV_H_ 15 #include "cxGrabberExport.h" 18 #include "cxVideoServerConfig.h" 20 #include "boost/shared_ptr.hpp" 24 #include <QStringList> 41 typedef boost::shared_ptr<class Property>
PropertyPtr;
52 QStringList getArgumentDescription();
53 virtual std::vector<PropertyPtr> getSettings(QDomElement root);
54 StringMap convertToCommandLineArguments(QDomElement root);
56 DoublePropertyBasePtr getVideoPortOption(QDomElement root);
57 BoolPropertyBasePtr getPrintPropertiesOption(QDomElement root);
80 virtual void initialize(
StringMap arguments);
81 virtual void startStreaming(
SenderPtr sender);
82 virtual void stopStreaming();
83 virtual bool isStreaming();
85 virtual QString getType();
86 virtual QStringList getArgumentDescription();
91 void continousGrabEvent();
94 void dumpProperties();
96 void dumpProperty(
int val, QString name);
98 void initialize_local();
99 void deinitialize_local();
104 VideoCapturePtr mVideoCapture;
105 QDateTime mLastGrabTime;
106 bool mAvailableImage;
boost::shared_ptr< class Image > ImagePtr
std::map< QString, QString > StringMap
boost::shared_ptr< class Property > PropertyPtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
boost::shared_ptr< cv::VideoCapture > VideoCapturePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
boost::shared_ptr< Sender > SenderPtr
Namespace for all CustusX production code.