MITK-IGT
IGT Extension of MITK
Loading...
Searching...
No Matches
mitkRealTimeClock.cpp
Go to the documentation of this file.
1
/*============================================================================
2
3
The Medical Imaging Interaction Toolkit (MITK)
4
5
Copyright (c) German Cancer Research Center (DKFZ)
6
All rights reserved.
7
8
Use of this source code is governed by a 3-clause BSD license that can be
9
found in the LICENSE file.
10
11
============================================================================*/
12
13
#include "
mitkRealTimeClock.h
"
14
15
16
// check if MITK runs on a Windows-System
17
#ifdef _WIN32
18
#include "
mitkWindowsRealTimeClock.h
"
19
#else
// should be Linux or macOS
20
#include "
mitkLinuxRealTimeClock.h
"
21
#endif
22
23
mitk::RealTimeClock::Pointer
mitk::RealTimeClock::New
()
24
{
25
mitk::RealTimeClock::Pointer smartPtr;
26
27
#ifdef _WIN32
28
smartPtr =
mitk::WindowsRealTimeClock::New
();
29
#else
30
smartPtr =
mitk::LinuxRealTimeClock::New
();
31
#endif
32
33
return
smartPtr;
34
}
mitk::RealTimeClock::New
static Pointer New(void)
instanciates a new, operating-system dependant, instance of mitk::RealTimeClock.
Definition
mitkRealTimeClock.cpp:23
mitkLinuxRealTimeClock.h
mitkRealTimeClock.h
mitkWindowsRealTimeClock.h
Modules
IGTBase
src
mitkRealTimeClock.cpp
Generated by
1.12.0