NorMIT-nav  22.09
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

◆ VideoConnection()

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

Definition at line 33 of file cxVideoConnection.cpp.

◆ ~VideoConnection()

cx::VideoConnection::~VideoConnection ( )
virtual

Definition at line 42 of file cxVideoConnection.cpp.

Member Function Documentation

◆ connected

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

◆ disconnectServer()

void cx::VideoConnection::disconnectServer ( )

Definition at line 161 of file cxVideoConnection.cpp.

◆ fps

void cx::VideoConnection::fps ( QString  source,
int  fps 
)
signal

◆ getVideoSources()

std::vector< VideoSourcePtr > cx::VideoConnection::getVideoSources ( )

Definition at line 307 of file cxVideoConnection.cpp.

◆ isConnected()

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

Definition at line 70 of file cxVideoConnection.cpp.

◆ runDirectLinkClient()

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

Definition at line 93 of file cxVideoConnection.cpp.

◆ videoSourcesChanged

void cx::VideoConnection::videoSourcesChanged ( )
signal

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