33 #ifndef CXVIDEOSERVICE_H 34 #define CXVIDEOSERVICE_H 36 #include "cxResourceExport.h" 39 #include <boost/shared_ptr.hpp> 42 #define VideoService_iid "cx::VideoService" 46 class StreamerService;
100 virtual void setActiveVideoSource(QString uid) = 0;
101 virtual VideoSourcePtr getActiveVideoSource() = 0;
102 virtual std::vector<VideoSourcePtr> getVideoSources() = 0;
104 virtual void setConnectionMethod(QString connectionMethod) = 0;
105 virtual QString getConnectionMethod() = 0;
106 virtual void openConnection() = 0;
107 virtual void closeConnection() = 0;
108 virtual bool isConnected()
const = 0;
110 virtual void setPlaybackMode(PlaybackTimePtr controller) = 0;
111 virtual std::vector<TimelineEvent> getPlaybackEvents() = 0;
113 virtual StreamerServicePtr getStreamerService(QString uid) = 0;
114 virtual QList<StreamerServicePtr> getStreamerServices() = 0;
116 virtual bool isNull() = 0;
117 static VideoServicePtr getNullObject();
120 void connected(
bool on);
125 void activeVideoSourceChanged();
135 #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.