Main Page
Namespace List
Class Hierarchy
Alphabetical List
Compound List
File List
Namespace Members
Compound Members
File Members
Source
igtlOSUtil.h
Go to the documentation of this file.
1
/*=========================================================================
2
3
Program: The OpenIGTLink Library
4
Language: C++
5
Web page: http://openigtlink.org/
6
7
Copyright (c) Insight Software Consortium. All rights reserved.
8
9
This software is distributed WITHOUT ANY WARRANTY; without even
10
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
11
PURPOSE. See the above copyright notices for more information.
12
13
=========================================================================*/
14
15
#ifndef __igltOSUtil_h
16
#define __igltOSUtil_h
17
18
#include <cstring>
19
20
#include "
igtlWin32Header.h
"
21
namespace
igtl
22
{
23
27
void
IGTLCommon_EXPORT
Sleep
(
int
millisecond);
28
30
#ifndef OpenIGTLink_HAVE_STRNLEN
31
size_t
IGTLCommon_EXPORT
Strnlen
(
const
char
* s,
size_t
maxlen);
32
#else
33
inline
size_t
IGTLCommon_EXPORT
Strnlen
(
const
char
* s,
size_t
maxlen)
34
{
return
strnlen(s, maxlen); }
35
#endif
36
37
38
}
39
40
#endif // __igltOSUtil_h
41
42
igtl::Strnlen
vcl_size_t IGTLCommon_EXPORT Strnlen(const char *s, vcl_size_t maxlen)
igtlWin32Header.h
igtl::Sleep
void IGTLCommon_EXPORT Sleep(int millisecond)
IGTLCommon_EXPORT
#define IGTLCommon_EXPORT
Definition:
igtlWin32Header.h:151
Generated at Mon Nov 11 2013 05:19:48 for OpenIGTLink by
1.8.5 written by
Dimitri van Heesch
, © 1997-2012