00001 /*========================================================================= 00002 00003 Program: Medical Imaging & Interaction Toolkit 00004 Language: C++ 00005 Date: $Date: 2009-02-10 18:08:54 +0100 (Di, 10 Feb 2009) $ 00006 Version: $Revision: 16228 $ 00007 00008 Copyright (c) German Cancer Research Center, Division of Medical and 00009 Biological Informatics. All rights reserved. 00010 See MITKCopyright.txt or https://www.mitk.org/copyright.html for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 00018 #ifndef MITKWINDOWSREALTIMECLOCK_H_HEADER_INCLUDED_ 00019 #define MITKWINDOWSREALTIMECLOCK_H_HEADER_INCLUDED_ 00020 00021 #include "MitkIGTExports.h" 00022 #include "mitkRealTimeClock.h" 00023 00024 00025 namespace mitk { 00026 00038 class MitkIGT_EXPORT WindowsRealTimeClock : public RealTimeClock 00039 { 00040 public: 00041 mitkClassMacro(WindowsRealTimeClock, mitk::RealTimeClock); 00042 itkNewMacro(Self); 00043 00047 WindowsRealTimeClock(); 00048 00052 virtual ~WindowsRealTimeClock(); 00053 00060 virtual double GetCurrentStamp(); 00061 00065 virtual LARGE_INTEGER GetFrequency(); 00066 00067 protected: 00068 00069 void SetFrequency(); 00070 00074 LARGE_INTEGER m_Frequency; 00075 00076 }; //namespace 00077 } 00078 00079 00080 00081 00082 00083 00084 #endif /* MITKWINDOWSREALTIMECLOCK_H_HEADER_INCLUDED_ */