Skip to main content

Module generated

Module generated 

Source
Expand description

AUTO-GENERATED by scripts/gen-abi-bindings.sh (bindgen 0.72.1) — DO NOT EDIT.

Source of truth: packages/core/nros-rmw-abi/include/nros/*.h (RFC-0054). Edit the headers, rerun the script, commit both.

Modules§

nros_rmw_qos_clash_t
nros_rmw_session_mode_t
rmw_endpoint_type_t
rmw_event_type_t
rmw_feature_t
rmw_internet_protocol_t
rmw_liveliness_kind_t
rmw_log_severity_t
rmw_qos_compatibility_type_t
rmw_transport_protocol_t

Structs§

nros_rmw_vtable_t
nros_transport_ops_s
Runtime-pluggable custom transport. The runtime never dereferences user_data; it’s the caller’s per-transport context, threaded back into every callback’s first argument.
rmw_byte_span_t
Global identifier for a publisher — upstream rmw_gid_t, field for field.
rmw_client_t
Client entity (phase-301: renamed from service_client to the upstream rmw_client_t term). Same shape as the service.
rmw_count_status_t
Count payload. Used for MESSAGE_LOST, REQUESTED_DEADLINE_MISSED, LIVELINESS_LOST, OFFERED_DEADLINE_MISSED — all share the same shape.
rmw_gid_t
rmw_liveliness_changed_status_t
Liveliness payload. Mirrors the DDS rmw_liveliness_changed_status_t shape.
rmw_loan_token_t
rmw_message_info_t
Per-sample metadata — upstream rmw_message_info_t, field for field.
rmw_message_type_support_t
A message type’s identity — phase-406 W1.
rmw_mut_byte_span_t
Room to WRITE — phase-406 W2.
rmw_names_and_types_visitor_t
rmw_network_flow_endpoint_t
One network flow endpoint — upstream rmw_network_flow_endpoint_t, field for field. Unlike the graph structs this one carries no pointers, so it costs nothing to mirror exactly and a caller may copy it wholesale.
rmw_node_t
A graph node — upstream rmw_node_t, minus what an image has no use for.
rmw_node_visitor_t
rmw_publisher_options_t
rmw_publisher_t
Publisher entity.
rmw_qos_profile_t
Full DDS-shaped QoS profile.
rmw_service_t
Service entity (phase-301: renamed from service_server to the upstream rmw_service_t term).
rmw_service_type_support_t
A service type’s identity. See @ref rmw_message_type_support_t.
rmw_session_options_t
rmw_session_property_t
Publisher creation options — the home for publisher-side transport hints (upstream: rmw_publisher_options_t). Passed as a NULLable trailing param to create_publisher; NULL = all defaults. / /** Session creation options — the home for init-time context that create_session’s flat argument list cannot grow without another ABI break (issue 0808). Passed as a NULLable trailing param; NULL = all defaults.
rmw_session_t
Per-process RMW session — the entity returned by vtable->create_session.
rmw_subscription_options_t
Subscription creation options — the home for subscription-side transport hints (upstream: rmw_subscription_options_t). Passed as a NULLable trailing param to create_subscription; NULL = all defaults.
rmw_subscription_t
Subscription entity (phase-301: renamed from subscriber to the upstream rmw_subscription_t term). Same shape as the publisher; can_loan_messages means the backend exposes the receive-side loan primitive.
rmw_topic_endpoint_info_t
One discovered endpoint — upstream rmw_topic_endpoint_info_t.
rmw_topic_endpoint_info_visitor_t

Constants§

NROS_RMW_DURABILITY_SYSTEM_DEFAULT
NROS_RMW_DURABILITY_TRANSIENT_LOCAL
NROS_RMW_DURABILITY_UNKNOWN
NROS_RMW_DURABILITY_VOLATILE
NROS_RMW_DURATION_INFINITE_MS
NROS_RMW_HISTORY_KEEP_ALL
NROS_RMW_HISTORY_KEEP_LAST
NROS_RMW_HISTORY_SYSTEM_DEFAULT
NROS_RMW_HISTORY_UNKNOWN
NROS_RMW_RELIABILITY_BEST_EFFORT
NROS_RMW_RELIABILITY_RELIABLE
NROS_RMW_RELIABILITY_SYSTEM_DEFAULT
NROS_RMW_RELIABILITY_UNKNOWN
NROS_RMW_RET_AMBIGUOUS_BACKEND
NROS_RMW_RET_BAD_ALLOC
NROS_RMW_RET_BUFFER_TOO_SMALL
NROS_RMW_RET_CONNECTION_FAILED
NROS_RMW_RET_ERROR
NROS_RMW_RET_EXTENSION_BASE
NROS_RMW_RET_INCOMPATIBLE_ABI
NROS_RMW_RET_INCOMPATIBLE_QOS
NROS_RMW_RET_INCORRECT_RMW_IMPLEMENTATION
NROS_RMW_RET_INVALID_ARGUMENT
NROS_RMW_RET_INVALID_CONFIG
NROS_RMW_RET_LOAN_NOT_SUPPORTED
NROS_RMW_RET_MESSAGE_TOO_LARGE
NROS_RMW_RET_NODE_NAME_NON_EXISTENT
NROS_RMW_RET_NO_BACKEND
NROS_RMW_RET_NO_DATA
NROS_RMW_RET_OK
NROS_RMW_RET_TIMEOUT
NROS_RMW_RET_TOPIC_NAME_INVALID
NROS_RMW_RET_UNKNOWN_BACKEND
NROS_RMW_RET_UNSUPPORTED
NROS_RMW_RET_WOULD_BLOCK
NROS_RMW_VISITOR_DEFINED
RMW_GID_STORAGE_SIZE
RMW_INET_ADDRSTRLEN
RMW_SESSION_MAX_PROPERTIES

Functions§

nros_rmw_cffi_lookup
Look up a backend’s vtable by name. Returns NULL if no backend is registered under name. The returned pointer is valid for the program’s lifetime.
nros_rmw_cffi_register
Register a custom RMW backend under the implicit name “default”. Legacy single-arg form retained for source compatibility with backend ctors authored before the named registry (Phase 104.B.2).
nros_rmw_cffi_register_named
Phase 104.B.2 — register a backend under a stable name. Multiple backends can coexist (bridge nodes); consumers select via nros_rmw_cffi_lookup or the higher-level Executor::node_builder(...).rmw(...) path.
nros_rmw_cffi_registered_names
Diagnostic helper — fills buf with pointers to up to cap registered backend names. Returns the total number of registered backends (may exceed cap; caller can re-query with a larger buffer). Pointer-valid for the program’s lifetime. Pass buf=NULL, cap=0 to query the count only.
nros_rmw_cffi_set_custom_transport
Install a custom transport for subsequent session opens.
nros_rmw_qos_incompatibility_mask
Which policies of offered (a publisher’s) and requested (a subscription’s) are incompatible, as a bitmask — no strings, so an image that only needs the verdict never links the reason table.
rmw_compare_gids_equal
Upstream rmw_compare_gids_equal. Exact parity.
rmw_qos_profile_check_compatible
Upstream rmw_qos_profile_check_compatible. Exact parity.

Type Aliases§

nros_transport_ops_t
Runtime-pluggable custom transport. The runtime never dereferences user_data; it’s the caller’s per-transport context, threaded back into every callback’s first argument.
rmw_content_filter_visit_fn
Visit a subscription’s content filter. Return value ignored: there is exactly one filter per subscription, so this is a callback only to avoid handing back an allocated rmw_subscription_content_filter_options_t.
rmw_event_callback_t
Upstream rmw_event_callback_t — the callback the set_on_new_* slots install. Distinct from rmw_status_event_callback_t above, which is the DDS STATUS-event callback; upstream binds this name to this shape and we now match it.
rmw_names_and_types_visit_fn
Visit one name and the types on it. types_count may legitimately be 0 on a partially discovered graph — reporting the name without a type beats dropping it. Return false to stop.
rmw_network_flow_endpoint_visit_fn
Visit one network flow endpoint. Return false to stop.
rmw_node_visit_fn
Visit one node. enclave is NULL where the backend does not track one — which is what lets a single slot answer both rmw_get_node_names and rmw_get_node_names_with_enclaves. Return false to stop.
rmw_ret_t
Status code. Zero on success.
rmw_status_event_callback_t
rmw_time_point_value_t
Nanoseconds since a clock’s epoch — upstream’s rmw_time_point_value_t.
rmw_topic_endpoint_info_visit_fn
Visit one discovered endpoint. Return false to stop.

Unions§

rmw_event_payload_t
Borrow-shaped union the backend supplies to the registered callback. The kind argument selects which member is valid.