34 #ifndef CXNETWORKCONNECTION_H_ 35 #define CXNETWORKCONNECTION_H_ 37 #include "org_custusx_core_openigtlink_Export.h" 42 #include <QMutexLocker> 50 #include "boost/function.hpp" 71 typedef boost::function<void()> VoidFunctionType;
79 QString
getUid()
const {
return mUid; }
80 QStringList getAvailableDialects()
const;
81 void invoke(boost::function<
void()> func);
90 void calibration(QString devicename,
Transform3D calibration);
96 virtual void setProtocol(QString protocolname);
99 virtual void internalDataAvailable();
100 void onInvoke(VoidFunctionType func);
106 typedef std::map<QString, ProtocolPtr> DialectMap;
107 DialectMap mAvailableDialects;
115 #endif // CXNETWORKCONNECTION_H_
DoubleBoundingBox3D transform(const Transform3D &m, const DoubleBoundingBox3D &bb)
Transform3D Transform3D
Transform3D is a representation of an affine 3D transform.
boost::shared_ptr< class Image > ImagePtr
boost::shared_ptr< class NetworkConnection > NetworkConnectionPtr
The NetworkConnection class handles incoming OpenIGTLink packages.
boost::shared_ptr< QThread > QThreadPtr
boost::shared_ptr< class Mesh > MeshPtr
boost::shared_ptr< Protocol > ProtocolPtr
boost::shared_ptr< class ProbeDefinition > ProbeDefinitionPtr
Namespace for all CustusX production code.