| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
DDSSecurityReturnCode.hpp
1// Copyright 2016 Proyectos y Sistemas de Mantenimiento SL (eProsima).
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
21
22#ifndef FAST_DDS_GENERATED__DDSSECURITYRETURNCODE_HPP
23#define FAST_DDS_GENERATED__DDSSECURITYRETURNCODE_HPP
24
25#include <cstdint>
26#include <utility>
27#include "DDSReturnCode.hpp"
28
29#if defined(_WIN32)
30#if defined(EPROSIMA_USER_DLL_EXPORT)
31#define eProsima_user_DllExport __declspec( dllexport )
32#else
33#define eProsima_user_DllExport
34#endif // EPROSIMA_USER_DLL_EXPORT
35#else
36#define eProsima_user_DllExport
37#endif // _WIN32
38
39#if defined(_WIN32)
40#if defined(EPROSIMA_USER_DLL_EXPORT)
41#if defined(DDSSECURITYRETURNCODE_SOURCE)
42#define DDSSECURITYRETURNCODE_DllAPI __declspec( dllexport )
43#else
44#define DDSSECURITYRETURNCODE_DllAPI __declspec( dllimport )
45#endif // DDSSECURITYRETURNCODE_SOURCE
46#else
47#define DDSSECURITYRETURNCODE_DllAPI
48#endif // EPROSIMA_USER_DLL_EXPORT
49#else
50#define DDSSECURITYRETURNCODE_DllAPI
51#endif // _WIN32
52
53 namespace eprosima {
54
55 namespace fastdds {
56
57 namespace dds {
58
59
60 const ReturnCode_t RETCODE_NOT_ALLOWED_BY_SECURITY = 1000;
61
62} // namespace dds
63
64} // namespace fastdds
65
66} // namespace eprosima
67
68
69#endif // _FAST_DDS_GENERATED_DDSSECURITYRETURNCODE_HPP_
70
71
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::ReturnCode_t
int32_t ReturnCode_t
Definition DDSReturnCode.hpp:59
eprosima::fastdds::dds::RETCODE_NOT_ALLOWED_BY_SECURITY
const ReturnCode_t RETCODE_NOT_ALLOWED_BY_SECURITY
Definition DDSSecurityReturnCode.hpp:60
eprosima::fastdds
eprosima
eProsima namespace.