rmw  master
C API providing a middleware abstraction layer which is used to implement the rest of ROS.
Macros | Typedefs
ret_types.h File Reference
#include <stdint.h>
Include dependency graph for ret_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RMW_RET_OK   0
 The operation ran as expected. More...
 
#define RMW_RET_ERROR   1
 Generic error to indicate operation could not complete successfully. More...
 
#define RMW_RET_TIMEOUT   2
 The operation was halted early because it exceeded its timeout critera. More...
 
#define RMW_RET_UNSUPPORTED   3
 The operation or event handling is not supported. More...
 
#define RMW_RET_BAD_ALLOC   10
 Failed to allocate memory. More...
 
#define RMW_RET_INVALID_ARGUMENT   11
 Argument to function was invalid. More...
 
#define RMW_RET_INCORRECT_RMW_IMPLEMENTATION   12
 Incorrect rmw implementation. More...
 
#define RMW_RET_NODE_NAME_NON_EXISTENT   203
 Failed to find node name. More...
 

Typedefs

typedef int32_t rmw_ret_t
 Return code for rmw functions. More...
 

Macro Definition Documentation

◆ RMW_RET_OK

#define RMW_RET_OK   0

The operation ran as expected.

◆ RMW_RET_ERROR

#define RMW_RET_ERROR   1

Generic error to indicate operation could not complete successfully.

◆ RMW_RET_TIMEOUT

#define RMW_RET_TIMEOUT   2

The operation was halted early because it exceeded its timeout critera.

◆ RMW_RET_UNSUPPORTED

#define RMW_RET_UNSUPPORTED   3

The operation or event handling is not supported.

◆ RMW_RET_BAD_ALLOC

#define RMW_RET_BAD_ALLOC   10

Failed to allocate memory.

◆ RMW_RET_INVALID_ARGUMENT

#define RMW_RET_INVALID_ARGUMENT   11

Argument to function was invalid.

◆ RMW_RET_INCORRECT_RMW_IMPLEMENTATION

#define RMW_RET_INCORRECT_RMW_IMPLEMENTATION   12

Incorrect rmw implementation.

◆ RMW_RET_NODE_NAME_NON_EXISTENT

#define RMW_RET_NODE_NAME_NON_EXISTENT   203

Failed to find node name.

Typedef Documentation

◆ rmw_ret_t

typedef int32_t rmw_ret_t

Return code for rmw functions.