driver_proxy¶
-
class driver_proxy¶
Proxy for constructing a driver bundle from a user-supplied driver function.
Passed to
PHLEX_REGISTER_DRIVERplugin 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_cursorconst& 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_yielderconst& that emits data cells to the framework.
-
inline driver_bundle driver(fixed_hierarchy hierarchy, is_driver_like_with_cursor auto driver_function) const¶
-
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.
-
internal::next_index_t driver¶