nros rmw-cffi
C vtable for plugging a third-party RMW backend into nros
Loading...
Searching...
No Matches
rmw_ret.h
Go to the documentation of this file.
1#ifndef NROS_RMW_RET_H
2#define NROS_RMW_RET_H
3
4#include <stdint.h>
5
34typedef int32_t nros_rmw_ret_t;
35
37#define NROS_RMW_RET_OK 0
38
40#define NROS_RMW_RET_ERROR -1
41
43#define NROS_RMW_RET_TIMEOUT -2
44
52#define NROS_RMW_RET_BAD_ALLOC -3
53
56#define NROS_RMW_RET_INVALID_ARGUMENT -4
57
60#define NROS_RMW_RET_UNSUPPORTED -5
61
65#define NROS_RMW_RET_INCOMPATIBLE_QOS -6
66
69#define NROS_RMW_RET_TOPIC_NAME_INVALID -7
70
72#define NROS_RMW_RET_NODE_NAME_NON_EXISTENT -8
73
77#define NROS_RMW_RET_LOAN_NOT_SUPPORTED -9
78
82#define NROS_RMW_RET_NO_DATA -10
83
86#define NROS_RMW_RET_WOULD_BLOCK -11
87
90#define NROS_RMW_RET_BUFFER_TOO_SMALL -12
91
93#define NROS_RMW_RET_MESSAGE_TOO_LARGE -13
94
99#define NROS_RMW_RET_INCOMPATIBLE_ABI -14
100
105#define NROS_RMW_RET_NO_BACKEND -15
106
111#define NROS_RMW_RET_AMBIGUOUS_BACKEND -16
112
117#define NROS_RMW_RET_UNKNOWN_BACKEND -17
118
126#define NROS_RMW_RET_CONNECTION_FAILED -18
127
128#endif /* NROS_RMW_RET_H */
int32_t nros_rmw_ret_t
Definition rmw_ret.h:34