Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::NetworkDataTransfer Class Reference

#include <cxNetworkDataTransfer.h>

Inheritance diagram for cx::NetworkDataTransfer:

Public Member Functions

 NetworkDataTransfer (ctkPluginContext *context, NetworkConnectionHandlePtr connection, QObject *parent=NULL)
 
 ~NetworkDataTransfer ()
 
BoolPropertyPtr getAcceptIncomingData ()
 
BoolPropertyPtr getStreamActiveVideoSource ()
 
StringPropertySelectDataPtr getDataToSend ()
 
PatientModelServicePtr getPatientModelService ()
 
ViewServicePtr getViewService ()
 
VideoServicePtr getVideoService ()
 
NetworkConnectionHandlePtr getOpenIGTLink ()
 
void onSend ()
 

Detailed Description

Handle transfer of data to and from CustusX over OpenIGTLink. The connection must be set up and is available from getOpenIGTLink().

When AcceptIncomingData is set and the system is connected to a server, incoming data is automatically added to PatientModel and possibly shown in the Views.

Use the DataToSend and onSend() to send data to server.

Definition at line 59 of file cxNetworkDataTransfer.h.

Constructor & Destructor Documentation

cx::NetworkDataTransfer::NetworkDataTransfer ( ctkPluginContext *  context,
NetworkConnectionHandlePtr  connection,
QObject *  parent = NULL 
)

Definition at line 51 of file cxNetworkDataTransfer.cpp.

cx::NetworkDataTransfer::~NetworkDataTransfer ( )

Definition at line 81 of file cxNetworkDataTransfer.cpp.

Member Function Documentation

BoolPropertyPtr cx::NetworkDataTransfer::getAcceptIncomingData ( )
inline

Definition at line 66 of file cxNetworkDataTransfer.h.

StringPropertySelectDataPtr cx::NetworkDataTransfer::getDataToSend ( )
inline

Definition at line 68 of file cxNetworkDataTransfer.h.

NetworkConnectionHandlePtr cx::NetworkDataTransfer::getOpenIGTLink ( )

Definition at line 86 of file cxNetworkDataTransfer.cpp.

PatientModelServicePtr cx::NetworkDataTransfer::getPatientModelService ( )
inline

Definition at line 69 of file cxNetworkDataTransfer.h.

BoolPropertyPtr cx::NetworkDataTransfer::getStreamActiveVideoSource ( )
inline

Definition at line 67 of file cxNetworkDataTransfer.h.

VideoServicePtr cx::NetworkDataTransfer::getVideoService ( )
inline

Definition at line 71 of file cxNetworkDataTransfer.h.

ViewServicePtr cx::NetworkDataTransfer::getViewService ( )
inline

Definition at line 70 of file cxNetworkDataTransfer.h.

void cx::NetworkDataTransfer::onSend ( )

Send data over igtl, using the data set in the DataToSend property

Definition at line 122 of file cxNetworkDataTransfer.cpp.


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