| Fast DDS Version 3.3.0 Fast DDS

Loading...
Searching...
No Matches
DDSReturnCode.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__DDSRETURNCODE_HPP
23#define FAST_DDS_GENERATED__DDSRETURNCODE_HPP
24
25#include <cstdint>
26#include <utility>
27
28#if defined(_WIN32)
29#if defined(EPROSIMA_USER_DLL_EXPORT)
30#define eProsima_user_DllExport __declspec( dllexport )
31#else
32#define eProsima_user_DllExport
33#endif // EPROSIMA_USER_DLL_EXPORT
34#else
35#define eProsima_user_DllExport
36#endif // _WIN32
37
38#if defined(_WIN32)
39#if defined(EPROSIMA_USER_DLL_EXPORT)
40#if defined(DDSRETURNCODE_SOURCE)
41#define DDSRETURNCODE_DllAPI __declspec( dllexport )
42#else
43#define DDSRETURNCODE_DllAPI __declspec( dllimport )
44#endif // DDSRETURNCODE_SOURCE
45#else
46#define DDSRETURNCODE_DllAPI
47#endif // EPROSIMA_USER_DLL_EXPORT
48#else
49#define DDSRETURNCODE_DllAPI
50#endif // _WIN32
51
52 namespace eprosima {
53
54 namespace fastdds {
55
56 namespace dds {
57
58
59 typedef int32_t ReturnCode_t;
60
61 const ReturnCode_t RETCODE_OK = 0;
62 const ReturnCode_t RETCODE_ERROR = 1;
63 const ReturnCode_t RETCODE_UNSUPPORTED = 2;
64 const ReturnCode_t RETCODE_BAD_PARAMETER = 3;
65 const ReturnCode_t RETCODE_PRECONDITION_NOT_MET = 4;
66 const ReturnCode_t RETCODE_OUT_OF_RESOURCES = 5;
67 const ReturnCode_t RETCODE_NOT_ENABLED = 6;
68 const ReturnCode_t RETCODE_IMMUTABLE_POLICY = 7;
69 const ReturnCode_t RETCODE_INCONSISTENT_POLICY = 8;
70 const ReturnCode_t RETCODE_ALREADY_DELETED = 9;
71 const ReturnCode_t RETCODE_TIMEOUT = 10;
72 const ReturnCode_t RETCODE_NO_DATA = 11;
73 const ReturnCode_t RETCODE_ILLEGAL_OPERATION = 12;
74
75} // namespace dds
76
77} // namespace fastdds
78
79} // namespace eprosima
80
81
82#endif // _FAST_DDS_GENERATED_DDSRETURNCODE_HPP_
83
84
eprosima::fastdds::dds
Definition BuiltinTopicKey.hpp:26
eprosima::fastdds::dds::RETCODE_TIMEOUT
const ReturnCode_t RETCODE_TIMEOUT
Definition DDSReturnCode.hpp:71
eprosima::fastdds::dds::RETCODE_UNSUPPORTED
const ReturnCode_t RETCODE_UNSUPPORTED
Definition DDSReturnCode.hpp:63
eprosima::fastdds::dds::RETCODE_BAD_PARAMETER
const ReturnCode_t RETCODE_BAD_PARAMETER
Definition DDSReturnCode.hpp:64
eprosima::fastdds::dds::RETCODE_PRECONDITION_NOT_MET
const ReturnCode_t RETCODE_PRECONDITION_NOT_MET
Definition DDSReturnCode.hpp:65
eprosima::fastdds::dds::RETCODE_INCONSISTENT_POLICY
const ReturnCode_t RETCODE_INCONSISTENT_POLICY
Definition DDSReturnCode.hpp:69
eprosima::fastdds::dds::RETCODE_NO_DATA
const ReturnCode_t RETCODE_NO_DATA
Definition DDSReturnCode.hpp:72
eprosima::fastdds::dds::RETCODE_NOT_ENABLED
const ReturnCode_t RETCODE_NOT_ENABLED
Definition DDSReturnCode.hpp:67
eprosima::fastdds::dds::RETCODE_ILLEGAL_OPERATION
const ReturnCode_t RETCODE_ILLEGAL_OPERATION
Definition DDSReturnCode.hpp:73
eprosima::fastdds::dds::RETCODE_ALREADY_DELETED
const ReturnCode_t RETCODE_ALREADY_DELETED
Definition DDSReturnCode.hpp:70
eprosima::fastdds::dds::RETCODE_ERROR
const ReturnCode_t RETCODE_ERROR
Definition DDSReturnCode.hpp:62
eprosima::fastdds::dds::RETCODE_OK
const ReturnCode_t RETCODE_OK
Definition DDSReturnCode.hpp:61
eprosima::fastdds::dds::ReturnCode_t
int32_t ReturnCode_t
Definition DDSReturnCode.hpp:59
eprosima::fastdds::dds::RETCODE_OUT_OF_RESOURCES
const ReturnCode_t RETCODE_OUT_OF_RESOURCES
Definition DDSReturnCode.hpp:66
eprosima::fastdds::dds::RETCODE_IMMUTABLE_POLICY
const ReturnCode_t RETCODE_IMMUTABLE_POLICY
Definition DDSReturnCode.hpp:68
eprosima::fastdds
eprosima
eProsima namespace.