CustusX  2023.01.05-dev+develop.0da12
An IGT application
cx::VideoConnection Class Reference

Represent one video grabber connection. More...

#include <cxVideoConnection.h>

Inheritance diagram for cx::VideoConnection:

Signals

bool connected (bool)
 
void fps (QString source, int fps)
 
void videoSourcesChanged ()
 

Public Member Functions

 VideoConnection (VideoServiceBackendPtr backend)
 
virtual ~VideoConnection ()
 
virtual bool isConnected () const
 
void disconnectServer ()
 
void runDirectLinkClient (StreamerServicePtr service)
 
std::vector< VideoSourcePtrgetVideoSources ()
 

Detailed Description

Represent one video grabber connection.

Connect to a video/scanner interface and receive all video and probe data from it. Convert to video streams, set all data in probe if available. Video Streams are also available directly from this object.

Refactored from old class OpenIGTLinkRTSource.

Date
Oct 31, 2010
Feb 26, 2013
Author
Christian Askeland, SINTEF

Definition at line 54 of file cxVideoConnection.h.

Constructor & Destructor Documentation

cx::VideoConnection::VideoConnection ( VideoServiceBackendPtr  backend)
explicit

Definition at line 33 of file cxVideoConnection.cpp.

cx::VideoConnection::~VideoConnection ( )
virtual

Definition at line 42 of file cxVideoConnection.cpp.

Member Function Documentation

bool cx::VideoConnection::connected ( bool  )
signal
void cx::VideoConnection::disconnectServer ( )

Definition at line 161 of file cxVideoConnection.cpp.

void cx::VideoConnection::fps ( QString  source,
int  fps 
)
signal
std::vector< VideoSourcePtr > cx::VideoConnection::getVideoSources ( )

Definition at line 307 of file cxVideoConnection.cpp.

bool cx::VideoConnection::isConnected ( ) const
virtual

Definition at line 70 of file cxVideoConnection.cpp.

void cx::VideoConnection::runDirectLinkClient ( StreamerServicePtr  service)

Definition at line 93 of file cxVideoConnection.cpp.

void cx::VideoConnection::videoSourcesChanged ( )
signal

The documentation for this class was generated from the following files: