ROS 2 rclcpp + rcl - rolling
rolling-a919a6e5
ROS 2 C++ Client Library with ROS Client Library
|
#include "rcutils/allocator.h"
Go to the source code of this file.
Macros | |
#define | rcl_get_default_allocator rcutils_get_default_allocator |
Return a properly initialized rcl_allocator_t with default values. More... | |
#define | rcl_reallocf rcutils_reallocf |
Emulate the behavior of reallocf. More... | |
#define | RCL_CHECK_ALLOCATOR(allocator, fail_statement) RCUTILS_CHECK_ALLOCATOR(allocator, fail_statement) |
Check that the given allocator is initialized. More... | |
#define | RCL_CHECK_ALLOCATOR_WITH_MSG(allocator, msg, fail_statement) RCUTILS_CHECK_ALLOCATOR_WITH_MSG(allocator, msg, fail_statement) |
Check that the given allocator is initialized, or fail with a message. More... | |
Typedefs | |
typedef rcutils_allocator_t | rcl_allocator_t |
Encapsulation of an allocator. More... | |
#define RCL_CHECK_ALLOCATOR | ( | allocator, | |
fail_statement | |||
) | RCUTILS_CHECK_ALLOCATOR(allocator, fail_statement) |
Check that the given allocator is initialized.
If the allocator is not initialized, run the fail_statement.
Definition at line 49 of file allocator.h.
#define RCL_CHECK_ALLOCATOR_WITH_MSG | ( | allocator, | |
msg, | |||
fail_statement | |||
) | RCUTILS_CHECK_ALLOCATOR_WITH_MSG(allocator, msg, fail_statement) |
Check that the given allocator is initialized, or fail with a message.
If the allocator is not initialized, set the error to msg, and run the fail_statement.
Definition at line 56 of file allocator.h.
#define rcl_get_default_allocator rcutils_get_default_allocator |
Return a properly initialized rcl_allocator_t with default values.
Definition at line 37 of file allocator.h.
#define rcl_reallocf rcutils_reallocf |
Emulate the behavior of reallocf.
Definition at line 43 of file allocator.h.
typedef rcutils_allocator_t rcl_allocator_t |
Encapsulation of an allocator.
Definition at line 31 of file allocator.h.