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();
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();
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;