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

#include <cxOpenIGTLinkProtocol.h>

Inheritance diagram for cx::OpenIGTLinkProtocol:
cx::Protocol cx::CustusProtocol cx::PlusProtocol cx::RASProtocol

Public Member Functions

 OpenIGTLinkProtocol ()
 
virtual ~OpenIGTLinkProtocol ()
 
virtual bool readyToReceiveData ()
 
virtual EncodedPackagePtr encode (ImagePtr image)
 
virtual EncodedPackagePtr encode (MeshPtr data)
 
virtual void translate (const igtl::MessageHeader::Pointer &header, const igtl::MessageBase::Pointer &body)
 
virtual void translate (const igtl::TransformMessage::Pointer body)
 
virtual void translate (const igtl::ImageMessage::Pointer body)
 
virtual void translate (const igtl::PolyDataMessage::Pointer body)
 
virtual void translate (const igtl::StatusMessage::Pointer body)
 
virtual void translate (const igtl::StringMessage::Pointer body)
 
virtual void translate (const IGTLinkUSStatusMessage::Pointer body)
 
- Public Member Functions inherited from cx::Protocol
 Protocol (QObject *parent=0)
 
virtual QString getName () const
 
virtual EncodedPackagePtr getPack ()
 
virtual void setSynchronizeRemoteClock (bool on)
 

Protected Slots

void processPack ()
 
- Protected Slots inherited from cx::Protocol
virtual void processPack ()=0
 

Protected Member Functions

void writeAcceptingMessage (igtl::MessageBase *body) const
 
void writeNotSupportedMessage (igtl::MessageBase *body) const
 
virtual PATIENT_COORDINATE_SYSTEM coordinateSystem () const
 
virtual bool doCRC () const
 

Additional Inherited Members

- Signals inherited from cx::Protocol
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)
 
- Protected Attributes inherited from cx::Protocol
EncodedPackagePtr mPack
 
StreamedTimestampSynchronizerPtr mStreamSynchronizer
 

Detailed Description

Definition at line 54 of file cxOpenIGTLinkProtocol.h.

Constructor & Destructor Documentation

cx::OpenIGTLinkProtocol::OpenIGTLinkProtocol ( )

Definition at line 14 of file cxOpenIGTLinkProtocol.cpp.

virtual cx::OpenIGTLinkProtocol::~OpenIGTLinkProtocol ( )
inlinevirtual

Definition at line 59 of file cxOpenIGTLinkProtocol.h.

Member Function Documentation

virtual PATIENT_COORDINATE_SYSTEM cx::OpenIGTLinkProtocol::coordinateSystem ( ) const
inlineprotectedvirtual

Reimplemented in cx::RASProtocol.

Definition at line 79 of file cxOpenIGTLinkProtocol.h.

bool cx::OpenIGTLinkProtocol::doCRC ( ) const
protectedvirtual

Reimplemented in cx::CustusProtocol.

Definition at line 21 of file cxOpenIGTLinkProtocol.cpp.

EncodedPackagePtr cx::OpenIGTLinkProtocol::encode ( ImagePtr  image)
virtual

Implements cx::Protocol.

Definition at line 33 of file cxOpenIGTLinkProtocol.cpp.

EncodedPackagePtr cx::OpenIGTLinkProtocol::encode ( MeshPtr  data)
virtual

Implements cx::Protocol.

Definition at line 42 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::processPack ( )
protectedslot

Definition at line 226 of file cxOpenIGTLinkProtocol.cpp.

bool cx::OpenIGTLinkProtocol::readyToReceiveData ( )
virtual

Implements cx::Protocol.

Definition at line 26 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const igtl::MessageHeader::Pointer &  header,
const igtl::MessageBase::Pointer &  body 
)
virtual

Definition at line 51 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const igtl::TransformMessage::Pointer  body)
virtual

Reimplemented in cx::PlusProtocol.

Definition at line 104 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const igtl::ImageMessage::Pointer  body)
virtual

Reimplemented in cx::PlusProtocol, and cx::CustusProtocol.

Definition at line 133 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const igtl::PolyDataMessage::Pointer  body)
virtual

Definition at line 124 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const igtl::StatusMessage::Pointer  body)
virtual

Definition at line 146 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const igtl::StringMessage::Pointer  body)
virtual

Reimplemented in cx::PlusProtocol.

Definition at line 153 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::translate ( const IGTLinkUSStatusMessage::Pointer  body)
virtual

Reimplemented in cx::CustusProtocol.

Definition at line 161 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::writeAcceptingMessage ( igtl::MessageBase *  body) const
protected

Definition at line 175 of file cxOpenIGTLinkProtocol.cpp.

void cx::OpenIGTLinkProtocol::writeNotSupportedMessage ( igtl::MessageBase *  body) const
protected

Definition at line 166 of file cxOpenIGTLinkProtocol.cpp.


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