NorMIT-nav  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
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cxStreamer.h
cxStreamerService.h
cx::OpenCVStreamerService::stop
virtual void stop()
Definition: cxOpenCVStreamerService.h:40
cx::PropertyPtr
boost::shared_ptr< class Property > PropertyPtr
Definition: cxLocalServerStreamerServer.h:25
cx::OpenCVStreamerService::OpenCVStreamerService
OpenCVStreamerService(ctkPluginContext *context)
Definition: cxOpenCVStreamerService.h:36
cx::OpenCVStreamerService::~OpenCVStreamerService
virtual ~OpenCVStreamerService()
Definition: cxOpenCVStreamerService.h:37
cx::BoolPropertyBasePtr
boost::shared_ptr< class BoolPropertyBase > BoolPropertyBasePtr
Definition: cxImageFileStreamerService.h:22
cx::DoublePropertyBasePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
Definition: cxIGTLinkStreamerService.h:21
cx::StringPropertyBasePtr
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
Definition: cxIGTLinkStreamerService.h:20
cx::OpenCVStreamerService
Definition: cxOpenCVStreamerService.h:33
cx::StreamerService
Abstract class. Interface to Streamers.
Definition: cxStreamerService.h:42
cx::StreamerPtr
boost::shared_ptr< class Streamer > StreamerPtr
Definition: cxImageReceiverThread.h:29