Expand description
Node source metadata recorded without opening middleware.
Structs§
- Callback
Effect Metadata - Recorded optional callback effect.
- Callback
Id - Stable callback identifier required for component-mode callbacks.
- Callback
Slot - Declaration-order callback slot within one extracted component.
- Entity
Id - Stable source-level identifier required for component-mode declarations.
- Entity
Metadata - Recorded entity declaration.
- Entity
Metadata Spec - Inputs for
entity_metadata. Collapses the seven positional arguments — three of them adjacent&str(source_name/type_name/type_hash) that are trivially transposable at a call site — into one named-field struct. phase-308 —pubalongsideMetadataRecorder::push_entity: metadata-mode adapters for other languages build entities through this ONE constructor so the defaults (and therefore the recorded shape) cannot diverge per language. - Entity
Slot - Declaration-order entity slot within one extracted component.
- Metadata
Recorder - In-memory metadata sink used by host discovery. It never opens transport.
- NodeId
- Stable node identifier required for component-mode node declarations.
- Node
Metadata - Recorded node declaration.
- Node
Slot - Declaration-order node slot within one extracted component.
- Source
Location Metadata - Source location attached to callbacks and parameters.
- Source
Metadata Export - Source metadata document settings used by the std JSON emitter.
Enums§
- Callback
Effect Kind - Optional callback effect relation.
- Entity
Kind - Entity role recorded for source metadata.
- Node
Metadata Error - Metadata recorder/runtime error.
- Parameter
Default - Parameter default value recorded for source metadata.
- Source
Name Kind - Unresolved ROS name category as written by component source.
Constants§
- DEFAULT_
MAX_ METADATA_ CALLBACKS - Maximum callback/effect records kept by the built-in metadata recorder.
- DEFAULT_
MAX_ METADATA_ ENTITIES - Maximum entities recorded by the built-in metadata recorder.
- DEFAULT_
MAX_ METADATA_ NODES - Maximum nodes recorded by the built-in metadata recorder.
- MAX_
RESOLVED_ NAME_ LEN - Phase 305 W3 (issue 0255) — the ONE name-resolution seam: ROS 2 source-name
expansion (
~/relative → FQN, ns=/collapse) + launch remap substitution (exact-FQN match, first rule wins; no wildcards). Implemented innros_node::namesso both the RustExecutorSinkand the C-ABI executor-side remap table share one lowering; re-exported here next toSourceNameKindas the source-metadata-level entry point. Maximum bytes in a fully-qualified resolved entity name. Matchesnros::node_metadata::METADATA_STRING_CAPACITY(the source-name bound entering the resolution seam). - METADATA_
STRING_ CAPACITY - Maximum bytes in recorded source names and stable IDs.
Functions§
- entity_
metadata - Build an
EntityMetadatafrom its identifying fields, defaulting the rest. SeeEntityMetadataSpecfor why this is public. - expand_
name - Phase 305 W3 (issue 0255) — the ONE name-resolution seam: ROS 2 source-name
expansion (
~/relative → FQN, ns=/collapse) + launch remap substitution (exact-FQN match, first rule wins; no wildcards). Implemented innros_node::namesso both the RustExecutorSinkand the C-ABI executor-side remap table share one lowering; re-exported here next toSourceNameKindas the source-metadata-level entry point. Expand a source-level ROS name to its fully-qualified form (ROS 2 name expansion rules): - metadata_
string - phase-308 —
pubfor metadata-mode adapters (seeMetadataRecorder::push_node); the capacity error is theirs to surface. - resolve_
name - Phase 305 W3 (issue 0255) — the ONE name-resolution seam: ROS 2 source-name
expansion (
~/relative → FQN, ns=/collapse) + launch remap substitution (exact-FQN match, first rule wins; no wildcards). Implemented innros_node::namesso both the RustExecutorSinkand the C-ABI executor-side remap table share one lowering; re-exported here next toSourceNameKindas the source-metadata-level entry point. Resolve a source-level entity name through launch remap rules: expand the source name AND each rule’sfromto fully-qualified form, compare exact, substitute the (also expanded)toof the first matching rule; no match → the expanded source name. A rule whosefrom/tofails to expand is skipped (never masks the name expansion itself).
Type Aliases§
- Metadata
String - Fixed-capacity string used by component metadata records.
- Resolved
Name - Phase 305 W3 (issue 0255) — the ONE name-resolution seam: ROS 2 source-name
expansion (
~/relative → FQN, ns=/collapse) + launch remap substitution (exact-FQN match, first rule wins; no wildcards). Implemented innros_node::namesso both the RustExecutorSinkand the C-ABI executor-side remap table share one lowering; re-exported here next toSourceNameKindas the source-metadata-level entry point. Owned storage for a resolved (fully-qualified) entity name.