CustusX  2021.04.21-dev+develop.337f9
An IGT application
cxIGTLinkStreamerService.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 CXIGTLINKSTREAMERSERVICE_H
12 #define CXIGTLINKSTREAMERSERVICE_H
13 
14 #include "org_custusx_core_video_Export.h"
15 #include "cxStreamerService.h"
16 class ctkPluginContext;
17 
18 namespace cx
19 {
20 typedef boost::shared_ptr<class StringPropertyBase> StringPropertyBasePtr;
21 typedef boost::shared_ptr<class DoublePropertyBase> DoublePropertyBasePtr;
22 
29 class org_custusx_core_video_EXPORT IGTLinkStreamerService : public StreamerService
30 {
31  Q_OBJECT
32 public:
33  IGTLinkStreamerService(ctkPluginContext *context) {}
35  virtual QString getName();
36  virtual QString getType() const;
37  virtual void stop() {}
38  virtual std::vector<PropertyPtr> getSettings(QDomElement root);
39  virtual StreamerPtr createStreamer(QDomElement root);
40 private:
41  StringPropertyBasePtr getIPOption(QDomElement root);
42  DoublePropertyBasePtr getStreamPortOption(QDomElement root);
43 };
44 
45 } //end namespace cx
46 
47 #endif // CXIGTLINKSTREAMERSERVICE_H
boost::shared_ptr< class StringPropertyBase > StringPropertyBasePtr
boost::shared_ptr< class DoublePropertyBase > DoublePropertyBasePtr
Abstract class. Interface to Streamers.
boost::shared_ptr< class Streamer > StreamerPtr
Namespace for all CustusX production code.