Fraxinus  2023.01.05-dev+develop.0da12
An IGT application
cxIGTLinkConversionBase.h
Go to the documentation of this file.
1 /*=========================================================================
2 This file is part of CustusX, an Image Guided Therapy Application.
3 
4 Copyright (c) SINTEF Department of Medical Technology.
5 All rights reserved.
6 
7 CustusX is released under a BSD 3-Clause license.
8 
9 See Lisence.txt (https://github.com/SINTEFMedtek/CustusX/blob/master/License.txt) for details.
10 =========================================================================*/
11 #ifndef CXIGTLINKCONVERSIONBASE_H
12 #define CXIGTLINKCONVERSIONBASE_H
13 
14 #include "igtlMessageBase.h"
15 #include <QDateTime>
16 #include "cxOpenIGTLinkUtilitiesExport.h"
17 
18 
19 namespace cx
20 {
21 
29 class cxOpenIGTLinkUtilities_EXPORT IGTLinkConversionBase
30 {
31 public:
32  void encode_timestamp(QDateTime ts, igtl::MessageBase* msg);
33  QDateTime decode_timestamp(igtl::MessageBase *msg);
34 
35 private:
36 
37 };
38 
39 } //namespace cx
40 
41 #endif // CXIGTLINKCONVERSIONBASE_H
Namespace for all CustusX production code.