pub type NrosRmwNode = rmw_node_t;Expand description
Phase 376 W5/B1 — a graph node. The first argument of the four create_*
slots, in place of the fabricated per-call session view they used to take.
Aliased Type§
#[repr(C)]pub struct NrosRmwNode {
pub name: *const i8,
pub namespace_: *const i8,
pub session: *mut rmw_session_t,
pub _reserved: [u8; 8],
pub backend_data: *mut c_void,
}Fields§
§name: *const i8Node name. Borrowed; outlives the node.
namespace_: *const i8Node namespace. Borrowed; outlives the node.
session: *mut rmw_session_tThe session this node lives on — upstream’s context. Set by the
runtime before create_node; never NULL in a node the runtime hands to
a slot. A backend reaches its own session state through
node->session->backend_data.
_reserved: [u8; 8]Reserved; must be zero.
backend_data: *mut c_voidOpaque backend state. NULL until create_node succeeds.