NifTK  16.4.1 - 0798f20
CMIC's Translational Medical Imaging Platform
niftkSystemTimeServiceI.h
Go to the documentation of this file.
1 /*=============================================================================
2 
3  NifTK: A software platform for medical image computing.
4 
5  Copyright (c) University College London (UCL). All rights reserved.
6 
7  This software is distributed WITHOUT ANY WARRANTY; without even
8  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
9  PURPOSE.
10 
11  See LICENSE.txt in the top level directory for details.
12 
13 =============================================================================*/
14 
15 #ifndef niftkSystemTimeServiceI_h
16 #define niftkSystemTimeServiceI_h
17 
18 #include <niftkIGIServicesExports.h>
19 
20 #include <mitkServiceInterface.h>
21 #include <mitkPointSet.h>
22 #include <vtkMatrix4x4.h>
23 
24 namespace niftk
25 {
26 
33 class NIFTKIGISERVICES_EXPORT SystemTimeServiceI
34 {
35 
36 public:
37 
38  typedef unsigned long long TimeType;
39  virtual TimeType GetSystemTimeInNanoseconds() const = 0;
40 
41 protected:
43  virtual ~SystemTimeServiceI();
44 
45 private:
46  SystemTimeServiceI(const SystemTimeServiceI&); // deliberately not implemented
47  SystemTimeServiceI& operator=(const SystemTimeServiceI&); // deliberately not implemented
48 };
49 
50 } // end namespace
51 
52 MITK_DECLARE_SERVICE_INTERFACE(niftk::SystemTimeServiceI, "uk.ac.ucl.cmic.SystemTimeServiceI");
53 
54 #endif
Interface for a service that can return the system time.
Definition: niftkSystemTimeServiceI.h:33
MITK_DECLARE_SERVICE_INTERFACE(niftk::SystemTimeServiceI,"uk.ac.ucl.cmic.SystemTimeServiceI")
unsigned long long TimeType
Definition: niftkSystemTimeServiceI.h:38
Definition: niftkExceptionObject.h:21