Struct PntosFusionStrategyPlugin

Struct Documentation

struct PntosFusionStrategyPlugin

Plugin that provides a PntosCommonFusionStrategy, allowing swapping of underlying algorithms for filtering.

UNSTABLE: This feature is unstable and is not yet considered part of the stable pntOS API. Usage of this feature is highly discouraged in non-experimental code, and its definition may change at any time.

Public Members

PntosCommonPlugin common
bool (*is_fusion_type_supported)(struct PntosFusionStrategyPlugin *self, PntosFusionType type)

Return if the plugin supports a given type of fusion. See PntosFusionType.

PntosCommonFusionStrategy *(*new_fusion_strategy)(struct PntosFusionStrategyPlugin *self, PntosFusionType type)

Create an instance of PntosCommonFusionStrategy. The PntosFusionType parameter specifies the type of fusion that the returned value will support. For example, if the user passes in PNTOS_FUSION_STANDARD_MODEL, then the returned value will be castable to PntosStandardFusionStrategy. Returns NULL if type is not supported by this fusion strategy plugin. Guaranteed to not return NULL if is_fusion_type_supported returns true for type.