CustusX
16.5.0-rc9
An IGT application
|
#include <cxNetworkDataTransfer.h>
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 () |
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.
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.
|
inline |
Definition at line 66 of file cxNetworkDataTransfer.h.
|
inline |
Definition at line 68 of file cxNetworkDataTransfer.h.
NetworkConnectionHandlePtr cx::NetworkDataTransfer::getOpenIGTLink | ( | ) |
Definition at line 86 of file cxNetworkDataTransfer.cpp.
|
inline |
Definition at line 69 of file cxNetworkDataTransfer.h.
|
inline |
Definition at line 67 of file cxNetworkDataTransfer.h.
|
inline |
Definition at line 71 of file cxNetworkDataTransfer.h.
|
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.