OpenSplice ISO C++ 2 FACE API
v6.x
OpenSplice Future Airborne Capability Environment (FACE) ISO C++ 2 API
Macros.hpp
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 VORTEX_FACE_MACROS_HPP_
22
#define VORTEX_FACE_MACROS_HPP_
23
24
#include "os_if.h"
25
#include "dds/core/ddscore.hpp"
26
27
#ifdef OS_API
28
#undef OS_API
29
#endif
30
31
#ifdef BUILD_VORTEX_FACE_API
32
#define VORTEX_FACE_API OS_API_EXPORT
33
#else
34
#define VORTEX_FACE_API OS_API_IMPORT
35
#endif
36
37
namespace
Vortex
{
38
namespace
FACE
{
39
40
template
<
typename
T>
41
struct
smart_ptr_traits
42
{
43
/* Re-use isocpp2 to get shared pointers. */
44
typedef
OSPL_CXX11_STD_MODULE::shared_ptr<T>
shared_ptr
;
45
typedef
OSPL_CXX11_STD_MODULE::weak_ptr<T>
weak_ptr
;
46
};
47
48
};
49
};
50
51
#endif
/* VORTEX_FACE_MACROS_HPP_ */
Vortex::FACE::smart_ptr_traits::weak_ptr
OSPL_CXX11_STD_MODULE::weak_ptr< T > weak_ptr
Definition:
Macros.hpp:45
FACE
Definition:
Vortex_FACE.hpp:26
Vortex::FACE::smart_ptr_traits
Definition:
Macros.hpp:41
Vortex::FACE::smart_ptr_traits::shared_ptr
OSPL_CXX11_STD_MODULE::shared_ptr< T > shared_ptr
Definition:
Macros.hpp:44
Vortex
Definition:
AnyConnection.hpp:27
face
cpp
include
Vortex
FACE
Macros.hpp
Generated by
1.8.13