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
54
enum
RETURN_CODE_TYPE
{
55
NO_ERROR
,
56
NO_ACTION
,
57
NOT_AVAILABLE
,
58
ADDR_IN_USE
,
59
INVALID_PARAM
,
60
INVALID_CONFIG
,
61
PERMISSION_DENIED
,
62
INVALID_MODE
,
63
TIMED_OUT
,
64
MESSAGE_STALE
,
65
CONNECTION_IN_PROGRESS
,
66
CONNECTION_CLOSED
,
67
DATA_BUFFER_TOO_SMALL
68
};
69
70
typedef
void
*
SYSTEM_ADDRESS_TYPE
;
71
72
typedef
int32_t
MESSAGE_RANGE_TYPE
;
73
74
}
75
76
#endif
/* _FACE_COMMON_H_ */
FACE::CONNECTION_IN_PROGRESS
Definition:
FACE_common.h:65
FACE::Char
char Char
Definition:
FACE_common.h:34
FACE::Octet
uint8_t Octet
Definition:
FACE_common.h:46
FACE::Double
double Double
Definition:
FACE_common.h:42
FACE::LongLong
int64_t LongLong
Definition:
FACE_common.h:39
FACE::RETURN_CODE_TYPE
RETURN_CODE_TYPE
Definition:
FACE_common.h:54
FACE::CONNECTION_CLOSED
Definition:
FACE_common.h:66
FACE::NO_ERROR
Definition:
FACE_common.h:55
FACE::UnsignedLong
uint32_t UnsignedLong
Definition:
FACE_common.h:38
FACE::Long
int32_t Long
Definition:
FACE_common.h:37
FACE
Definition:
Vortex_FACE.hpp:26
FACE::TIMED_OUT
Definition:
FACE_common.h:63
FACE::ADDR_IN_USE
Definition:
FACE_common.h:58
FACE::TIMEOUT_TYPE
SYSTEM_TIME_TYPE TIMEOUT_TYPE
Definition:
FACE_common.h:49
FACE::SYSTEM_TIME_TYPE
int64_t SYSTEM_TIME_TYPE
Definition:
FACE_common.h:48
FACE::INVALID_MODE
Definition:
FACE_common.h:62
FACE::LongDouble
long double LongDouble
Definition:
FACE_common.h:43
FACE::INF_TIME_VALUE
const SYSTEM_TIME_TYPE INF_TIME_VALUE
Definition:
FACE_common.h:50
FACE::MESSAGE_STALE
Definition:
FACE_common.h:64
FACE::Float
float Float
Definition:
FACE_common.h:41
FACE::NO_ACTION
Definition:
FACE_common.h:56
FACE::NOT_AVAILABLE
Definition:
FACE_common.h:57
FACE::INVALID_CONFIG
Definition:
FACE_common.h:60
FACE::CONFIGURATION_RESOURCE
Char CONFIGURATION_RESOURCE[256]
Definition:
FACE_common.h:52
FACE::SYSTEM_ADDRESS_TYPE
void * SYSTEM_ADDRESS_TYPE
Definition:
FACE_common.h:70
FACE::WChar
wchar_t WChar
Definition:
FACE_common.h:45
FACE::UnsignedShort
uint16_t UnsignedShort
Definition:
FACE_common.h:36
FACE::MESSAGE_RANGE_TYPE
int32_t MESSAGE_RANGE_TYPE
Definition:
FACE_common.h:72
FACE::Boolean
bool Boolean
Definition:
FACE_common.h:44
FACE::UnsignedLongLong
uint64_t UnsignedLongLong
Definition:
FACE_common.h:40
FACE::Short
int16_t Short
Definition:
FACE_common.h:35
FACE::DATA_BUFFER_TOO_SMALL
Definition:
FACE_common.h:67
FACE::INVALID_PARAM
Definition:
FACE_common.h:59
FACE::PERMISSION_DENIED
Definition:
FACE_common.h:61
face
cpp
include
FACE
FACE_common.h
Generated by
1.8.13