11 #ifndef CXOPENIGTLINKRTSOURCE_H_ 12 #define CXOPENIGTLINKRTSOURCE_H_ 14 #include "org_custusx_core_video_Export.h" 18 #include <boost/array.hpp> 61 virtual bool isConnected()
const;
62 void disconnectServer();
63 void runDirectLinkClient(StreamerServicePtr service);
64 std::vector<VideoSourcePtr> getVideoSources();
68 void fps(QString source,
int fps);
69 void videoSourcesChanged();
73 void onDisconnected();
74 void imageReceivedSlot();
75 void statusReceivedSlot();
76 void fpsSlot(QString,
double fps);
77 void connectVideoToProbe();
78 void useUnusedProbeDefinitionSlot();
81 void waitForClientFinished();
82 StreamerServicePtr getStreamerInterface();
86 void updateStatus(ProbeDefinitionPtr message);
87 void startAllSources();
88 void stopAllSources();
89 void removeSourceFromProbe(
ToolPtr tool);
91 QPointer<ImageReceiverThread> mClient;
92 QPointer<QThread> mThread;
95 std::vector<ProbeDefinitionPtr> mUnusedProbeDefinitionVector;
96 std::vector<BasicVideoSourcePtr> mSources;
97 VideoServiceBackendPtr mBackend;
98 StreamerServicePtr mStreamerInterface;
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< VideoConnection > VideoConnectionPtr
boost::shared_ptr< class VideoServiceBackend > VideoServiceBackendPtr
vtkSmartPointer< class vtkImageAlgorithm > vtkImageAlgorithmPtr
boost::shared_ptr< QThread > QThreadPtr
vtkSmartPointer< class vtkImageImport > vtkImageImportPtr
Represent one video grabber connection.
boost::shared_ptr< class StreamerService > StreamerServicePtr
boost::shared_ptr< class ImageReceiverThread > ImageReceiverThreadPtr
boost::shared_ptr< class BasicVideoSource > BasicVideoSourcePtr
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
Namespace for all CustusX production code.
boost::shared_ptr< class Tool > ToolPtr