driver_proxy

class driver_proxy

Proxy for constructing a driver bundle from a user-supplied driver function.

Passed to PHLEX_REGISTER_DRIVER plugin entry points. Users never construct this type directly.

Public Functions

inline driver_bundle driver(fixed_hierarchy hierarchy, is_driver_like_with_cursor auto driver_function) const

Creates a driver_bundle from a hierarchy and a user-supplied driver function.

Parameters:
  • hierarchy – The data hierarchy the driver will traverse.

  • driver_function – A callable receiving a data_cell_cursor const& that emits data cells to the framework.

inline driver_bundle driver(fixed_hierarchy hierarchy, is_driver_like_with_yielder auto driver_function) const

Creates a driver_bundle from a hierarchy and a user-supplied driver function.

Parameters:
  • hierarchy – The data hierarchy the driver will traverse.

  • driver_function – A callable receiving a data_cell_yielder const& that emits data cells to the framework.

struct driver_bundle

Bundles the driver function and data hierarchy for the framework.

Public Members

internal::next_index_t driver

Driver function that advances data cells.

fixed_hierarchy hierarchy

Data hierarchy traversed by the driver.