RPNX::QueryGraph
Typed, memoized, concurrent query evaluation for C++23
Loading...
Searching...
No Matches
rpnx::querygraph::debug_abi::subquery_request< SubquerySpec > Struct Template Reference

Awaitable request for a subquery value produced by a parent node. More...

#include <querygraph.hpp>

Public Member Functions

 subquery_request (typename SubquerySpec::parent_query::input_type parent_input, typename SubquerySpec::input_type input)
 Construct a request scoped to one parent input.
 

Public Attributes

SubquerySpec::parent_query::input_type m_parent_input
 Input identifying the parent query node.
 
SubquerySpec::input_type m_input
 Input identifying the subquery slot within the parent.
 

Detailed Description

template<subquery_spec_c SubquerySpec>
struct rpnx::querygraph::debug_abi::subquery_request< SubquerySpec >

Awaitable request for a subquery value produced by a parent node.

The current handler must list both SubquerySpec and its parent_query in dependencies. Evaluation starts or reuses the parent query, then waits for the requested subquery input to be produced.

Template Parameters
SubquerySpecRequested subquery specification.

Definition at line 877 of file querygraph.hpp.

Constructor & Destructor Documentation

◆ subquery_request()

template<subquery_spec_c SubquerySpec>
rpnx::querygraph::debug_abi::subquery_request< SubquerySpec >::subquery_request ( typename SubquerySpec::parent_query::input_type parent_input,
typename SubquerySpec::input_type input )
inline

Construct a request scoped to one parent input.

Parameters
parent_inputInput identifying the parent query node.
inputInput identifying the subquery instance within it.

Definition at line 890 of file querygraph.hpp.

References m_input, and m_parent_input.

Member Data Documentation

◆ m_input

template<subquery_spec_c SubquerySpec>
SubquerySpec::input_type rpnx::querygraph::debug_abi::subquery_request< SubquerySpec >::m_input

Input identifying the subquery slot within the parent.

Definition at line 882 of file querygraph.hpp.

Referenced by subquery_request().

◆ m_parent_input

template<subquery_spec_c SubquerySpec>
SubquerySpec::parent_query::input_type rpnx::querygraph::debug_abi::subquery_request< SubquerySpec >::m_parent_input

Input identifying the parent query node.

Definition at line 880 of file querygraph.hpp.

Referenced by subquery_request().


The documentation for this struct was generated from the following file: