CustusX  2023.01.05-dev+develop.0da12
An IGT application
cxTime.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 CXTIME_H_
12 #define CXTIME_H_
13 
14 #include "cxResourceExport.h"
15 
16 #include <QString>
17 
18 namespace cx
19 {
20 
26 //namespace time {
27 
33 cxResource_EXPORT QString timestampSecondsFormat();
34 
37 cxResource_EXPORT QString timestampSecondsFormatNice();
38 
39 cxResource_EXPORT QString timestampMilliSecondsFormat();
40 cxResource_EXPORT QString timestampMilliSecondsFormatNice();
41 
42 
45 cxResource_EXPORT double getMicroSecondsSinceEpoch();
46 
49 cxResource_EXPORT double getMilliSecondsSinceEpoch();
50 
51 cxResource_EXPORT QString toMillisecondsFormatNice(double secondsSinceEpoch);
52 
57 //} // time
58 } // ssc
59 
60 #endif /* CXTIME_H_ */
QString timestampMilliSecondsFormat()
Definition: cxTime.cpp:22
QString timestampSecondsFormatNice()
Definition: cxTime.cpp:26
double getMilliSecondsSinceEpoch()
Definition: cxTime.cpp:44
QString timestampSecondsFormat()
Definition: cxTime.cpp:18
double getMicroSecondsSinceEpoch()
Definition: cxTime.cpp:35
QString toMillisecondsFormatNice(double secondsSinceEpoch)
Definition: cxTime.cpp:57
QString timestampMilliSecondsFormatNice()
Definition: cxTime.cpp:30
Namespace for all CustusX production code.