rcl
master
C API providing common ROS client library functionality.
|
Go to the documentation of this file.
30 #include "rcl/macros.h"
33 #include "rcl/visibility_control.h"
36 struct rcl_node_impl_t;
45 struct rcl_node_impl_t *
impl;
150 const char * namespace_,
530 const char * input_name,
534 char ** output_name);
540 #endif // RCL__NODE_H_
rmw_node_t * rcl_node_get_rmw_handle(const rcl_node_t *node)
Return the rmw node handle.
Structure which encapsulates a ROS Node.
Definition: node.h:39
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_get_domain_id(const rcl_node_t *node, size_t *domain_id)
Return the ROS domain ID that the node is using.
rmw_ret_t rcl_ret_t
The type that holds an rcl return code.
Definition: types.h:23
const rcl_node_options_t * rcl_node_get_options(const rcl_node_t *node)
Return the rcl node options.
Structure which encapsulates the options for creating a rcl_node_t.
Definition: node_options.h:34
Handle for a rcl guard condition.
Definition: guard_condition.h:35
const char * rcl_node_get_fully_qualified_name(const rcl_node_t *node)
Return the fully qualified name of the node.
struct rcl_node_impl_t * impl
Private implementation pointer.
Definition: node.h:45
rcl_ret_t rcl_node_fini(rcl_node_t *node)
Finalize a rcl_node_t.
bool rcl_node_is_valid(const rcl_node_t *node)
Return true if the node is valid, else false.
rcl_ret_t rcl_node_init(rcl_node_t *node, const char *name, const char *namespace_, rcl_context_t *context, const rcl_node_options_t *options)
Initialize a ROS node.
rcl_node_t rcl_get_zero_initialized_node(void)
Return a rcl_node_t struct with members initialized to NULL.
Encapsulates the non-global state of an init/shutdown cycle.
Definition: context.h:113
bool rcl_node_is_valid_except_context(const rcl_node_t *node)
Return true if node is valid, except for the context being valid.
struct rcl_node_t rcl_node_t
Structure which encapsulates a ROS Node.
rcl_ret_t rcl_node_resolve_name(const rcl_node_t *node, const char *input_name, rcl_allocator_t allocator, bool is_service, bool only_expand, char **output_name)
Expand a given name into a fully-qualified topic name and apply remapping rules.
const char * rcl_node_get_logger_name(const rcl_node_t *node)
Return the logger name of the node.
rcl_context_t * context
Context associated with this node.
Definition: node.h:42
uint64_t rcl_node_get_rcl_instance_id(const rcl_node_t *node)
Return the associated rcl instance id.