rcl  beta1
C API providing common ROS client library functionality.
Macros | Typedefs
types.h File Reference
#include <rmw/types.h>

Go to the source code of this file.

Macros

#define RCL_RET_OK   RMW_RET_OK
 Success return code. More...
 
#define RCL_RET_ERROR   RMW_RET_ERROR
 Unspecified error return code. More...
 
#define RCL_RET_TIMEOUT   RMW_RET_TIMEOUT
 Timeout occurred return code. More...
 
#define RCL_RET_ALREADY_INIT   100
 rcl_init() already called return code. More...
 
#define RCL_RET_NOT_INIT   101
 rcl_init() not yet called return code. More...
 
#define RCL_RET_BAD_ALLOC   102
 Failed to allocate memory return code. More...
 
#define RCL_RET_INVALID_ARGUMENT   103
 Invalid argument return code. More...
 
#define RCL_RET_MISMATCHED_RMW_ID   104
 Mismatched rmw identifier return code. More...
 
#define RCL_RET_NODE_INVALID   200
 Invalid rcl_node_t given return code. More...
 
#define RCL_RET_PUBLISHER_INVALID   300
 Invalid rcl_publisher_t given return code. More...
 
#define RCL_RET_SUBSCRIPTION_INVALID   400
 Invalid rcl_subscription_t given return code. More...
 
#define RCL_RET_SUBSCRIPTION_TAKE_FAILED   401
 Failed to take a message from the subscription return code. More...
 
#define RCL_RET_CLIENT_INVALID   500
 Invalid rcl_client_t given return code. More...
 
#define RCL_RET_CLIENT_TAKE_FAILED   501
 Failed to take a response from the client return code. More...
 
#define RCL_RET_SERVICE_INVALID   600
 Invalid rcl_service_t given return code. More...
 
#define RCL_RET_SERVICE_TAKE_FAILED   601
 Failed to take a request from the service return code. More...
 
#define RCL_RET_TIMER_INVALID   800
 Invalid rcl_timer_t given return code. More...
 
#define RCL_RET_TIMER_CANCELED   801
 Given timer was canceled return code. More...
 
#define RCL_RET_WAIT_SET_INVALID   900
 Invalid rcl_wait_set_t given return code. More...
 
#define RCL_RET_WAIT_SET_EMPTY   901
 Given rcl_wait_set_t is empty return code. More...
 
#define RCL_RET_WAIT_SET_FULL   902
 Given rcl_wait_set_t is full return code. More...
 

Typedefs

typedef rmw_ret_t rcl_ret_t
 

Macro Definition Documentation

§ RCL_RET_OK

#define RCL_RET_OK   RMW_RET_OK

Success return code.

§ RCL_RET_ERROR

#define RCL_RET_ERROR   RMW_RET_ERROR

Unspecified error return code.

§ RCL_RET_TIMEOUT

#define RCL_RET_TIMEOUT   RMW_RET_TIMEOUT

Timeout occurred return code.

§ RCL_RET_ALREADY_INIT

#define RCL_RET_ALREADY_INIT   100

rcl_init() already called return code.

§ RCL_RET_NOT_INIT

#define RCL_RET_NOT_INIT   101

rcl_init() not yet called return code.

§ RCL_RET_BAD_ALLOC

#define RCL_RET_BAD_ALLOC   102

Failed to allocate memory return code.

§ RCL_RET_INVALID_ARGUMENT

#define RCL_RET_INVALID_ARGUMENT   103

Invalid argument return code.

§ RCL_RET_MISMATCHED_RMW_ID

#define RCL_RET_MISMATCHED_RMW_ID   104

Mismatched rmw identifier return code.

§ RCL_RET_NODE_INVALID

#define RCL_RET_NODE_INVALID   200

Invalid rcl_node_t given return code.

§ RCL_RET_PUBLISHER_INVALID

#define RCL_RET_PUBLISHER_INVALID   300

Invalid rcl_publisher_t given return code.

§ RCL_RET_SUBSCRIPTION_INVALID

#define RCL_RET_SUBSCRIPTION_INVALID   400

Invalid rcl_subscription_t given return code.

§ RCL_RET_SUBSCRIPTION_TAKE_FAILED

#define RCL_RET_SUBSCRIPTION_TAKE_FAILED   401

Failed to take a message from the subscription return code.

§ RCL_RET_CLIENT_INVALID

#define RCL_RET_CLIENT_INVALID   500

Invalid rcl_client_t given return code.

§ RCL_RET_CLIENT_TAKE_FAILED

#define RCL_RET_CLIENT_TAKE_FAILED   501

Failed to take a response from the client return code.

§ RCL_RET_SERVICE_INVALID

#define RCL_RET_SERVICE_INVALID   600

Invalid rcl_service_t given return code.

§ RCL_RET_SERVICE_TAKE_FAILED

#define RCL_RET_SERVICE_TAKE_FAILED   601

Failed to take a request from the service return code.

§ RCL_RET_TIMER_INVALID

#define RCL_RET_TIMER_INVALID   800

Invalid rcl_timer_t given return code.

§ RCL_RET_TIMER_CANCELED

#define RCL_RET_TIMER_CANCELED   801

Given timer was canceled return code.

§ RCL_RET_WAIT_SET_INVALID

#define RCL_RET_WAIT_SET_INVALID   900

Invalid rcl_wait_set_t given return code.

§ RCL_RET_WAIT_SET_EMPTY

#define RCL_RET_WAIT_SET_EMPTY   901

Given rcl_wait_set_t is empty return code.

§ RCL_RET_WAIT_SET_FULL

#define RCL_RET_WAIT_SET_FULL   902

Given rcl_wait_set_t is full return code.

Typedef Documentation

§ rcl_ret_t