Fast DDS  Version 3.6.1.0
Fast DDS
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 
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 
74 
75 } // namespace dds
76 
77 } // namespace fastdds
78 
79 } // namespace eprosima
80 
81 
82 #endif // _FAST_DDS_GENERATED_DDSRETURNCODE_HPP_
83 
84 
Definition: DomainParticipant.hpp:46
const ReturnCode_t RETCODE_TIMEOUT
Definition: DDSReturnCode.hpp:71
const ReturnCode_t RETCODE_UNSUPPORTED
Definition: DDSReturnCode.hpp:63
const ReturnCode_t RETCODE_BAD_PARAMETER
Definition: DDSReturnCode.hpp:64
const ReturnCode_t RETCODE_PRECONDITION_NOT_MET
Definition: DDSReturnCode.hpp:65
const ReturnCode_t RETCODE_INCONSISTENT_POLICY
Definition: DDSReturnCode.hpp:69
const ReturnCode_t RETCODE_NO_DATA
Definition: DDSReturnCode.hpp:72
const ReturnCode_t RETCODE_NOT_ENABLED
Definition: DDSReturnCode.hpp:67
const ReturnCode_t RETCODE_ILLEGAL_OPERATION
Definition: DDSReturnCode.hpp:73
const ReturnCode_t RETCODE_ALREADY_DELETED
Definition: DDSReturnCode.hpp:70
const ReturnCode_t RETCODE_ERROR
Definition: DDSReturnCode.hpp:62
const ReturnCode_t RETCODE_OK
Definition: DDSReturnCode.hpp:61
int32_t ReturnCode_t
Definition: DDSReturnCode.hpp:59
const ReturnCode_t RETCODE_OUT_OF_RESOURCES
Definition: DDSReturnCode.hpp:66
const ReturnCode_t RETCODE_IMMUTABLE_POLICY
Definition: DDSReturnCode.hpp:68