Struct LinkingResult

Struct Documentation

struct LinkingResult

Result of runtime linking operation.

Contains all the information about how manifest Apps were linked to runtime ROS 2 nodes, including orphan detection.

Public Functions

inline bool has_errors(ManifestConfig::UnmanifestedNodePolicy policy) const

Check if linking produced any errors based on policy.

inline std::string summary() const

Get statistics summary.

Public Members

std::vector<App> linked_apps

Apps with successfully bound ROS nodes (and those that failed)

std::vector<std::string> unlinked_app_ids

App IDs that have no matching ROS node (offline or external)

std::vector<std::string> orphan_nodes

ROS node FQNs that have no matching manifest App (orphans)

std::unordered_map<std::string, std::string> app_to_node

Mapping from App ID to bound node FQN.

std::unordered_map<std::string, std::string> node_to_app

Mapping from node FQN to App ID (reverse lookup)

size_t binding_conflicts = {0}

Number of times two apps competed for the same node.

size_t wildcard_multi_match = {0}

Number of wildcard bindings that matched >1 node.

std::vector<std::string> warnings

Human-readable diagnostic warnings.