Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
Home
Manual
API Reference
Download
Bugzilla
Groups
Namespace List
Class List
File List
Examples
File List
File Members
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,
6
Division of Medical and Biological Informatics.
7
All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without
10
even the implied warranty of MERCHANTABILITY or FITNESS FOR
11
A PARTICULAR PURPOSE.
12
13
See LICENSE.txt or http://www.mitk.org for details.
14
15
===================================================================*/
16
17
#include "
mitkRealTimeClock.h
"
18
19
20
// check if MITK runs on a Windows-System
21
#ifdef _WIN32
22
#include "
mitkWindowsRealTimeClock.h
"
23
#else // should be Linux or Mac OSX
24
#include "
mitkLinuxRealTimeClock.h
"
25
#endif
26
27
mitk::RealTimeClock::Pointer
mitk::RealTimeClock::New
()
28
{
29
mitk::RealTimeClock::Pointer
smartPtr;
30
31
#ifdef _WIN32
32
smartPtr =
mitk::WindowsRealTimeClock::New
();
33
#else
34
smartPtr =
mitk::LinuxRealTimeClock::New
();
35
#endif
36
37
return
smartPtr;
38
}
mitk::Pointer
itk::SmartPointer< Self > Pointer
Definition:
mitkRenderingManager.h:389
mitkRealTimeClock.h
mitk::WindowsRealTimeClock::New
static Pointer New()
mitk::LinuxRealTimeClock::New
static Pointer New()
mitkLinuxRealTimeClock.h
mitkWindowsRealTimeClock.h
mitk::RealTimeClock::New
static Pointer New(void)
instanciates a new, operating-system dependant, instance of mitk::RealTimeClock.
Definition:
mitkRealTimeClock.cpp:27
git
MITK
Modules
IGTBase
src
mitkRealTimeClock.cpp
Generated on Fri Feb 3 2017 20:52:07 for Medical Imaging Interaction Toolkit by
1.8.9.1