routing::bedrock::sandbox_construction

Function build_component_sandbox

Source
pub fn build_component_sandbox<C: ComponentInstanceInterface + 'static>(
    component: &Arc<C>,
    child_component_output_dictionary_routers: HashMap<ChildName, Router<Dict>>,
    decl: &ComponentDecl,
    component_input: ComponentInput,
    program_output_dict: Dict,
    framework_dict: Dict,
    capability_sourced_capabilities_dict: Dict,
    declared_dictionaries: Dict,
    error_reporter: impl ErrorReporter,
) -> ComponentSandbox
Expand description

Once a component has been resolved and its manifest becomes known, this function produces the various dicts the component needs based on the contents of its manifest.