Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxOpenCVStreamerService.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXOPENCVSTREAMERSERVICE_H
12 #define CXOPENCVSTREAMERSERVICE_H
13 
14 #include "org_custusx_core_video_Export.h"
15 #include "cxStreamerService.h"
16 #include "cxStreamer.h"
17 
18 class ctkPluginContext;
19 
20 namespace cx
21 {
22 typedef boost::shared_ptr<class StringPropertyBase> StringPropertyBasePtr;
23 typedef boost::shared_ptr<class DoublePropertyBase> DoublePropertyBasePtr;
24 typedef boost::shared_ptr<class Property> PropertyPtr;
25 typedef boost::shared_ptr<class BoolPropertyBase> BoolPropertyBasePtr;
26 
33 class org_custusx_core_video_EXPORT OpenCVStreamerService : public StreamerService
34 {
35 public:
36  OpenCVStreamerService(ctkPluginContext *context) {}
38  virtual QString getName();
39  virtual QString getType() const;
40  virtual void stop() {}
41  virtual std::vector<PropertyPtr> getSettings(QDomElement root);
42  virtual StreamerPtr createStreamer(QDomElement root);
43 private:
44 };
45 
46 } //end namespace cx
47 
48 
49 #endif // CXOPENCVSTREAMERSERVICE_H
OpenCVStreamerService(ctkPluginContext *context)
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class Property > PropertyPtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
Abstract class. Interface to Streamers.
boost::shared_ptr< class Streamer > StreamerPtr
Namespace for all CustusX production code.