rcl  master
C API providing common ROS client library functionality.
Macros | Typedefs
types.h File Reference
#include <rmw/types.h>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define RCL_RET_OK   RMW_RET_OK
 Success return code.
 
#define RCL_RET_ERROR   RMW_RET_ERROR
 Unspecified error return code.
 
#define RCL_RET_TIMEOUT   RMW_RET_TIMEOUT
 Timeout occurred return code.
 
#define RCL_RET_BAD_ALLOC   RMW_RET_BAD_ALLOC
 Failed to allocate memory return code.
 
#define RCL_RET_INVALID_ARGUMENT   RMW_RET_INVALID_ARGUMENT
 Invalid argument return code.
 
#define RCL_RET_UNSUPPORTED   RMW_RET_UNSUPPORTED
 Unsupported return code.
 
#define RCL_RET_ALREADY_INIT   100
 rcl_init() already called return code.
 
#define RCL_RET_NOT_INIT   101
 rcl_init() not yet called return code.
 
#define RCL_RET_MISMATCHED_RMW_ID   102
 Mismatched rmw identifier return code.
 
#define RCL_RET_TOPIC_NAME_INVALID   103
 Topic name does not pass validation.
 
#define RCL_RET_SERVICE_NAME_INVALID   104
 Service name (same as topic name) does not pass validation.
 
#define RCL_RET_UNKNOWN_SUBSTITUTION   105
 Topic name substitution is unknown.
 
#define RCL_RET_ALREADY_SHUTDOWN   106
 rcl_shutdown() already called return code.
 
#define RCL_RET_NODE_INVALID   200
 Invalid rcl_node_t given return code.
 
#define RCL_RET_NODE_INVALID_NAME   201
 Invalid node name return code.
 
#define RCL_RET_NODE_INVALID_NAMESPACE   202
 Invalid node namespace return code.
 
#define RCL_RET_NODE_NAME_NON_EXISTENT   203
 Failed to find node name.
 
#define RCL_RET_PUBLISHER_INVALID   300
 Invalid rcl_publisher_t given return code.
 
#define RCL_RET_SUBSCRIPTION_INVALID   400
 Invalid rcl_subscription_t given return code.
 
#define RCL_RET_SUBSCRIPTION_TAKE_FAILED   401
 Failed to take a message from the subscription return code.
 
#define RCL_RET_CLIENT_INVALID   500
 Invalid rcl_client_t given return code.
 
#define RCL_RET_CLIENT_TAKE_FAILED   501
 Failed to take a response from the client return code.
 
#define RCL_RET_SERVICE_INVALID   600
 Invalid rcl_service_t given return code.
 
#define RCL_RET_SERVICE_TAKE_FAILED   601
 Failed to take a request from the service return code.
 
#define RCL_RET_TIMER_INVALID   800
 Invalid rcl_timer_t given return code.
 
#define RCL_RET_TIMER_CANCELED   801
 Given timer was canceled return code.
 
#define RCL_RET_WAIT_SET_INVALID   900
 Invalid rcl_wait_set_t given return code.
 
#define RCL_RET_WAIT_SET_EMPTY   901
 Given rcl_wait_set_t is empty return code.
 
#define RCL_RET_WAIT_SET_FULL   902
 Given rcl_wait_set_t is full return code.
 
#define RCL_RET_INVALID_REMAP_RULE   1001
 Argument is not a valid remap rule.
 
#define RCL_RET_WRONG_LEXEME   1002
 Expected one type of lexeme but got another.
 
#define RCL_RET_INVALID_ROS_ARGS   1003
 Found invalid ros argument while parsing.
 
#define RCL_RET_INVALID_PARAM_RULE   1010
 Argument is not a valid parameter rule.
 
#define RCL_RET_INVALID_LOG_LEVEL_RULE   1020
 Argument is not a valid log level rule.
 
#define RCL_RET_EVENT_INVALID   2000
 Invalid rcl_event_t given return code.
 
#define RCL_RET_EVENT_TAKE_FAILED   2001
 Failed to take an event from the event handle.
 
#define RCL_RET_LIFECYCLE_STATE_REGISTERED   3000
 
#define RCL_RET_LIFECYCLE_STATE_NOT_REGISTERED   3001
 rcl_lifecycle state not registered
 

Typedefs

typedef rmw_ret_t rcl_ret_t
 The type that holds an rcl return code.
 
typedef rmw_serialized_message_t rcl_serialized_message_t
 typedef for rmw_serialized_message_t;
 

Macro Definition Documentation

◆ RCL_RET_LIFECYCLE_STATE_REGISTERED

#define RCL_RET_LIFECYCLE_STATE_REGISTERED   3000

rcl_lifecycle state register ret codes in 30XX rcl_lifecycle state registered