NorMIT-nav
16.5
An IGT application
|
#include <cxProtocol.h>
Signals | |
void | transform (QString devicename, Transform3D transform, double timestamp) |
void | calibration (QString devicename, Transform3D calibration) |
void | image (ImagePtr image) |
void | mesh (MeshPtr mesh) |
void | probedefinition (QString devicename, ProbeDefinitionPtr definition) |
Public Member Functions | |
Protocol (QObject *parent=0) | |
virtual QString | getName () const |
virtual EncodedPackagePtr | getPack () |
virtual bool | readyToReceiveData ()=0 |
virtual EncodedPackagePtr | encode (ImagePtr image)=0 |
virtual EncodedPackagePtr | encode (MeshPtr data)=0 |
virtual void | setSynchronizeRemoteClock (bool on) |
Protected Slots | |
virtual void | processPack ()=0 |
Protected Attributes | |
EncodedPackagePtr | mPack |
StreamedTimestampSynchronizerPtr | mStreamSynchronizer |
An Application layer protocol for sending/receiving CustusX objects.
Single-threaded.
Definition at line 56 of file cxProtocol.h.
|
explicit |
Definition at line 11 of file cxProtocol.cpp.
|
signal |
|
pure virtual |
Implemented in cx::OpenIGTLinkProtocol.
|
pure virtual |
Implemented in cx::OpenIGTLinkProtocol.
|
virtual |
Reimplemented in cx::PlusProtocol, cx::CustusProtocol, and cx::RASProtocol.
Definition at line 19 of file cxProtocol.cpp.
|
virtual |
Definition at line 24 of file cxProtocol.cpp.
|
signal |
|
signal |
|
signal |
|
protectedpure virtualslot |
|
pure virtual |
Implemented in cx::OpenIGTLinkProtocol.
|
virtual |
Assume the clock on the remote side is not synced, take steps to synchronize incoming timestamps if needed.
Definition at line 29 of file cxProtocol.cpp.
|
signal |
|
protected |
Definition at line 84 of file cxProtocol.h.
|
protected |
Definition at line 85 of file cxProtocol.h.