MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkWindowsRealTimeClock.h
Go to the documentation of this file.
1/*============================================================================
2
3The Medical Imaging Interaction Toolkit (MITK)
4
5Copyright (c) German Cancer Research Center (DKFZ)
6All rights reserved.
7
8Use of this source code is governed by a 3-clause BSD license that can be
9found in the LICENSE file.
10
11============================================================================*/
12
13#ifndef mitkWindowsRealTimeClock_h
14#define mitkWindowsRealTimeClock_h
15
16#include "MitkIGTBaseExports.h"
17#include "mitkRealTimeClock.h"
18
19
20namespace mitk {
21
33 class MITKIGTBASE_EXPORT WindowsRealTimeClock : public RealTimeClock
34 {
35 public:
39
44
48 virtual ~WindowsRealTimeClock();
49
56 virtual double GetCurrentStamp();
57
61 virtual LARGE_INTEGER GetFrequency();
62
63 protected:
64
65 void SetFrequency();
66
70 LARGE_INTEGER m_Frequency;
71
72 }; //namespace
73}
74
75
76
77
78
79
80#endif
RealTimeClock is a superclass to WindowsRealTimeClock, LinuxRealTimeClock, etc.
realtimeclock implementation for windows-systems
LARGE_INTEGER m_Frequency
Frequency needed to calculate time from tick-counter.
mitkClassMacro(WindowsRealTimeClock, mitk::RealTimeClock)
IGT Exceptions.