NorMIT-nav  2023.01.05-dev+develop.0da12
An IGT application
cxVideoServiceNull.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 
12 #ifndef CXVIDEOSERVICENULL_H
13 #define CXVIDEOSERVICENULL_H
14 
15 #include "cxResourceExport.h"
16 
17 #include "cxVideoService.h"
18 
19 namespace cx
20 {
21 
25 class cxResource_EXPORT VideoServiceNull : public VideoService
26 {
27 public:
28  virtual ~VideoServiceNull() {}
29 
30  virtual void setActiveVideoSource(QString uid);
31  virtual VideoSourcePtr getActiveVideoSource();
32  virtual std::vector<VideoSourcePtr> getVideoSources();
33 
34  virtual void setConnectionMethod(QString connectionMethod);
35  virtual QString getConnectionMethod();
36  virtual void openConnection();
37  virtual void closeConnection();
38  virtual bool isConnected() const;
39 
40  virtual void setPlaybackMode(PlaybackTimePtr controller);
41  virtual std::vector<TimelineEvent> getPlaybackEvents();
42 
43  virtual StreamerServicePtr getStreamerService(QString uid);
44  virtual QList<StreamerServicePtr> getStreamerServices();
45 
46  virtual bool isNull();
47 private:
48  void printWarning();
49 };
50 } //cx
51 #endif // CXVIDEOSERVICENULL_H
cx::VideoService
Provides access to all video sources in the system, and connection stuff for the sources.
Definition: cxVideoService.h:75
cx
Namespace for all CustusX production code.
Definition: cx_dev_group_definitions.h:13
cx::PlaybackTimePtr
boost::shared_ptr< class PlaybackTime > PlaybackTimePtr
Definition: cxTrackingSystemBronchoscopyService.h:42
cx::VideoSourcePtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
Definition: cxForwardDeclarations.h:109
cx::VideoServiceNull::~VideoServiceNull
virtual ~VideoServiceNull()
Definition: cxVideoServiceNull.h:28
cx::StreamerServicePtr
boost::shared_ptr< class StreamerService > StreamerServicePtr
Definition: cxPlusConnectWidget.h:26
cxVideoService.h
cx::VideoServiceNull
Definition: cxVideoServiceNull.h:25