.. index:: pair: namespace; gpr::runtime .. _doxid-namespacegpr_1_1runtime: namespace gpr::runtime ====================== .. toctree:: :hidden: struct_gpr_runtime_Component.rst Overview ~~~~~~~~ .. ref-code-block:: cpp :class: doxyrest-overview-code-block namespace runtime { // structs struct :ref:`Component`; // global functions void :ref:`registerComponent`(:ref:`Component` component); std::vector<:ref:`Component`> :ref:`components`(); std::string :ref:`manifestJson`(); std::string :target:`manifestSha256`(); } // namespace runtime .. _details-namespacegpr_1_1runtime: Detailed Documentation ~~~~~~~~~~~~~~~~~~~~~~ Global Functions ---------------- .. index:: pair: function; registerComponent .. _doxid-namespacegpr_1_1runtime_1a0e9e1d7f920eaae1e29910bfae0777c2: .. ref-code-block:: cpp :class: doxyrest-title-code-block void registerComponent(:ref:`Component` component) Register a component observed by a driver or loader. Re-registering the same role/name replaces it, so repeated setup stays deterministic. .. index:: pair: function; components .. _doxid-namespacegpr_1_1runtime_1a8b473a66e044c27c721c11165457dccc: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::vector<:ref:`Component`> components() A stable snapshot including the linked ABI dependencies. .. index:: pair: function; manifestJson .. _doxid-namespacegpr_1_1runtime_1a7c281febe933992ba8f1b09c363a51ba: .. ref-code-block:: cpp :class: doxyrest-title-code-block std::string manifestJson() Canonical JSON record used by run provenance. Keys and components are sorted. The top-level sha256 identifies the same record with that digest field omitted, avoiding a self-referential hash.