CustusX  16.5.0-rc9
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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 75 of file cxVideoConnection.h.

Constructor & Destructor Documentation

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

Definition at line 54 of file cxVideoConnection.cpp.

cx::VideoConnection::~VideoConnection ( )
virtual

Definition at line 63 of file cxVideoConnection.cpp.

Member Function Documentation

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

Definition at line 182 of file cxVideoConnection.cpp.

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

Definition at line 328 of file cxVideoConnection.cpp.

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

Definition at line 91 of file cxVideoConnection.cpp.

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

Definition at line 114 of file cxVideoConnection.cpp.

void cx::VideoConnection::videoSourcesChanged ( )
signal

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