OpenSplice ISO C++ 2 FACE API  v6.x
OpenSplice Future Airborne Capability Environment (FACE) ISO C++ 2 API
FACE_common.h
Go to the documentation of this file.
1 /*
2  * Vortex OpenSplice
3  *
4  * This software and documentation are Copyright 2006 to 2021 ADLINK
5  * Technology Limited, its affiliated companies and licensors. All rights
6  * reserved.
7  *
8  * Licensed under the Apache License, Version 2.0 (the "License");
9  * you may not use this file except in compliance with the License.
10  * You may obtain a copy of the License at
11  *
12  * http://www.apache.org/licenses/LICENSE-2.0
13  *
14  * Unless required by applicable law or agreed to in writing, software
15  * distributed under the License is distributed on an "AS IS" BASIS,
16  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17  * See the License for the specific language governing permissions and
18  * limitations under the License.
19  *
20  */
21 #ifndef _FACE_COMMON_H_
22 #define _FACE_COMMON_H_
23 
24 #include <dds/core/ddscore.hpp>
25 
26 #ifdef NO_ERROR
27 /* This windows socket NO_ERROR return value can
28  * clash with the FACE return code enum. */
29 #undef NO_ERROR
30 #endif
31 
32 namespace FACE
33 {
34  typedef char Char;
35  typedef int16_t Short;
36  typedef uint16_t UnsignedShort;
37  typedef int32_t Long;
38  typedef uint32_t UnsignedLong;
39  typedef int64_t LongLong;
40  typedef uint64_t UnsignedLongLong;
41  typedef float Float;
42  typedef double Double;
43  typedef long double LongDouble;
44  typedef bool Boolean;
45  typedef wchar_t WChar;
46  typedef uint8_t Octet;
47 
48  typedef int64_t SYSTEM_TIME_TYPE;
49  typedef SYSTEM_TIME_TYPE TIMEOUT_TYPE;
50  const SYSTEM_TIME_TYPE INF_TIME_VALUE = (-1LL);
51 
52  typedef Char CONFIGURATION_RESOURCE[256];
53 
68  };
69 
70  typedef void* SYSTEM_ADDRESS_TYPE;
71 
72  typedef int32_t MESSAGE_RANGE_TYPE;
73 
74 }
75 
76 #endif /* _FACE_COMMON_H_ */
char Char
Definition: FACE_common.h:34
uint8_t Octet
Definition: FACE_common.h:46
double Double
Definition: FACE_common.h:42
int64_t LongLong
Definition: FACE_common.h:39
RETURN_CODE_TYPE
Definition: FACE_common.h:54
uint32_t UnsignedLong
Definition: FACE_common.h:38
int32_t Long
Definition: FACE_common.h:37
SYSTEM_TIME_TYPE TIMEOUT_TYPE
Definition: FACE_common.h:49
int64_t SYSTEM_TIME_TYPE
Definition: FACE_common.h:48
long double LongDouble
Definition: FACE_common.h:43
const SYSTEM_TIME_TYPE INF_TIME_VALUE
Definition: FACE_common.h:50
float Float
Definition: FACE_common.h:41
Char CONFIGURATION_RESOURCE[256]
Definition: FACE_common.h:52
void * SYSTEM_ADDRESS_TYPE
Definition: FACE_common.h:70
wchar_t WChar
Definition: FACE_common.h:45
uint16_t UnsignedShort
Definition: FACE_common.h:36
int32_t MESSAGE_RANGE_TYPE
Definition: FACE_common.h:72
bool Boolean
Definition: FACE_common.h:44
uint64_t UnsignedLongLong
Definition: FACE_common.h:40
int16_t Short
Definition: FACE_common.h:35