RTI Connext Micro
Version 2.4.1.0
Main Page
RTI Connext Micro Documentation
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
osapi_utility.h
Go to the documentation of this file.
1
/*
2
* FILE: osapi_utility.h - Definition of utility functions
3
*
4
* Copyright 2012-2014 Real-Time Innovations, Inc.
5
*
6
* No duplications, whole or partial, manual or electronic, may be made
7
* without express written permission. Any such copies, or
8
* revisions thereof, must display this notice unaltered.
9
* This code contains trade secrets of Real-Time Innovations, Inc.
10
*
11
* Modification History
12
* --------------------
13
* 24mar2012,tk Written
14
*/
15
/*ce
16
* \file
17
* \brief Utility function definition
18
*/
19
#ifndef osapi_utility_h
20
#define osapi_utility_h
21
22
23
#ifndef osapi_dll_h
24
#include "osapi/osapi_dll.h"
25
#endif
26
27
#ifdef __cplusplus
28
extern
"C"
29
{
30
#endif
31
32
/*e \file
33
@brief Simple, static utility functions that you do not want to write
34
over and over again in different modules.
35
*/
36
37
/*e \defgroup OSAPI_UtilityClass OSAPI Utility
38
* \ingroup OSAPIModule
39
*/
40
41
/*e \ingroup OSAPI_UtilityClass
42
\brief Namespace for utility functions.
43
*/
44
/*e \ingroup OSAPI_UtilityClass
45
\brief Static function to return the greater of two values.
46
*/
47
SHOULD_CHECK_RETURN OSAPIDllExport RTI_INT32
48
OSAPI_Utility_max
(RTI_INT32 l, RTI_INT32 r);
49
50
/*e \ingroup OSAPI_UtilityClass
51
\brief Static function to return the lesser of two values.
52
*/
53
SHOULD_CHECK_RETURN OSAPIDllExport RTI_INT32
54
OSAPI_Utility_min
(RTI_INT32 l, RTI_INT32 r);
55
56
#ifdef __cplusplus
57
}
/* extern "C" */
58
#endif
59
60
61
#include "
osapi/osapi_utility_impl.h
"
62
63
#endif
/* osapi_utility_h */
RTI Connext Micro Version 2.4.1.0
Copyright © Thu Nov 20 2014
Real-Time Innovations, Inc