12 #ifndef CXVIDEOSERVICE_H 13 #define CXVIDEOSERVICE_H 15 #include "cxResourceExport.h" 18 #include <boost/shared_ptr.hpp> 21 #define VideoService_iid "cx::VideoService" 25 class StreamerService;
79 virtual void setActiveVideoSource(QString uid) = 0;
80 virtual VideoSourcePtr getActiveVideoSource() = 0;
81 virtual std::vector<VideoSourcePtr> getVideoSources() = 0;
83 virtual void setConnectionMethod(QString connectionMethod) = 0;
84 virtual QString getConnectionMethod() = 0;
85 virtual void openConnection() = 0;
86 virtual void closeConnection() = 0;
87 virtual bool isConnected()
const = 0;
89 virtual void setPlaybackMode(PlaybackTimePtr controller) = 0;
90 virtual std::vector<TimelineEvent> getPlaybackEvents() = 0;
92 virtual StreamerServicePtr getStreamerService(QString uid) = 0;
93 virtual QList<StreamerServicePtr> getStreamerServices() = 0;
95 virtual bool isNull() = 0;
96 static VideoServicePtr getNullObject();
99 void connected(
bool on);
100 void connectionMethodChanged();
104 void activeVideoSourceChanged();
114 #endif // CXVIDEOSERVICE_H boost::shared_ptr< class VideoService > VideoServicePtr
boost::shared_ptr< class PlaybackTime > PlaybackTimePtr
boost::shared_ptr< USAcquisitionVideoPlayback > USAcquisitionVideoPlaybackPtr
boost::shared_ptr< class VideoSource > VideoSourcePtr
Provides access to all video sources in the system, and connection stuff for the sources.
boost::shared_ptr< class StreamerService > StreamerServicePtr
Abstract class. Interface to Streamers.
Namespace for all CustusX production code.