Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  
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 
vcl_size_t IGTLCommon_EXPORT Strnlen(const char *s, vcl_size_t maxlen)
The "igtl" namespace contains all OpenIGTLink classes. There are several nested namespaces within the...
void IGTLCommon_EXPORT Sleep(int millisecond)
#define IGTLCommon_EXPORT

Generated at Mon Dec 23 2019 00:49:23 for OpenIGTLink by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2012