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

#include <cxRemoteAPI.h>

Inheritance diagram for cx::RemoteAPI:

Public Member Functions

 RemoteAPI (VisServicesPtr services)
 
QStringList getAvailableLayouts () const
 
void createLayoutWidget (QSize size, QString layout)
 
void closeLayoutWidget ()
 
LayoutVideoSourcePtr startStreaming ()
 stop streaming by destroying the returned object More...
 
QImage grabLayout ()
 
QImage grabScreen ()
 
VisServicesPtr getServices ()
 

Detailed Description

API indended to be callable from external applications, e.g. over http or igtl.

Definition at line 29 of file cxRemoteAPI.h.

Constructor & Destructor Documentation

cx::RemoteAPI::RemoteAPI ( VisServicesPtr  services)
explicit

Definition at line 24 of file cxRemoteAPI.cpp.

Member Function Documentation

void cx::RemoteAPI::closeLayoutWidget ( )

Definition at line 41 of file cxRemoteAPI.cpp.

void cx::RemoteAPI::createLayoutWidget ( QSize  size,
QString  layout 
)

Definition at line 36 of file cxRemoteAPI.cpp.

QStringList cx::RemoteAPI::getAvailableLayouts ( ) const

Definition at line 29 of file cxRemoteAPI.cpp.

VisServicesPtr cx::RemoteAPI::getServices ( )
inline

Definition at line 42 of file cxRemoteAPI.h.

QImage cx::RemoteAPI::grabLayout ( )

Definition at line 53 of file cxRemoteAPI.cpp.

QImage cx::RemoteAPI::grabScreen ( )

Definition at line 60 of file cxRemoteAPI.cpp.

LayoutVideoSourcePtr cx::RemoteAPI::startStreaming ( )

stop streaming by destroying the returned object

Definition at line 46 of file cxRemoteAPI.cpp.


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