32 #define RCL_NODE_OPTIONS_DEFAULT_DOMAIN_ID SIZE_MAX 35 struct rcl_node_impl_t;
41 struct rcl_node_impl_t *
impl;
172 const char * namespace_,
523 #endif // RCL__NODE_H_
uint64_t rcl_node_get_rcl_instance_id(const rcl_node_t *node)
Return the associated rcl instance id.
rmw_ret_t rcl_ret_t
Definition: types.h:20
struct rcl_node_options_t rcl_node_options_t
Structure which encapsulates the options for creating a rcl_node_t.
const char * rcl_node_get_logger_name(const rcl_node_t *node)
Return the logger name of the node.
Hold output of parsing command line arguments.
Definition: arguments.h:31
bool rcl_node_is_valid(const rcl_node_t *node, rcl_allocator_t *error_msg_allocator)
Return true if the node is valid, else false.
rcl_ret_t rcl_node_get_domain_id(const rcl_node_t *node, size_t *domain_id)
Return the ROS domain ID that the node is using.
size_t domain_id
If true, no parameter infrastructure will be setup.
Definition: node.h:65
rcl_arguments_t arguments
Command line arguments that apply only to this node.
Definition: node.h:74
rcl_ret_t rcl_node_options_copy(rcl_allocator_t error_alloc, const rcl_node_options_t *options, rcl_node_options_t *options_out)
Copy one options structure into another.
const rcl_node_options_t * rcl_node_get_options(const rcl_node_t *node)
Return the rcl node options.
rcl_ret_t rcl_node_init(rcl_node_t *node, const char *name, const char *namespace_, const rcl_node_options_t *options)
Initialize a ROS node.
bool use_global_arguments
If false then only use arguments in this struct, otherwise use global arguments also.
Definition: node.h:71
#define RCL_WARN_UNUSED
Ignored return values of functions with this macro will emit a warning.
Definition: macros.h:25
struct rcl_node_impl_t * impl
Private implementation pointer.
Definition: node.h:41
#define RCL_PUBLIC
Definition: visibility_control.h:48
rcl_node_options_t rcl_node_get_default_options(void)
Return the default node options in a rcl_node_options_t.
rcl_allocator_t allocator
Custom allocator used for internal allocations.
Definition: node.h:68
rmw_node_t * rcl_node_get_rmw_handle(const rcl_node_t *node)
Return the rmw node handle.
Structure which encapsulates the options for creating a rcl_node_t.
Definition: node.h:45
const char * rcl_node_get_name(const rcl_node_t *node)
Return the name of the node.
const char * rcl_node_get_namespace(const rcl_node_t *node)
Return the namespace of the node.
const struct rcl_guard_condition_t * rcl_node_get_graph_guard_condition(const rcl_node_t *node)
Return a guard condition which is triggered when the ROS graph changes.
rcl_ret_t rcl_node_fini(rcl_node_t *node)
Finalized a rcl_node_t.
struct rcl_node_t rcl_node_t
Structure which encapsulates a ROS Node.
Handle for a rcl guard condition.
Definition: guard_condition.h:32
Structure which encapsulates a ROS Node.
Definition: node.h:38
rcl_node_t rcl_get_zero_initialized_node(void)
Return a rcl_node_t struct with members initialized to NULL.