Typedef PntosFusionType

Typedef Documentation

typedef enum PntosFusionType PntosFusionType

An enumeration of the types of fusion that can be performed by pntOS. An implementation of a PntosFusionPlugin plugin will compare a model from this enum in its PntosFusionPlugin.is_fusion_type_supported function. The return of PntosFusionPlugin.is_fusion_type_supported indicates whether the input type of fusion engine matches the type that will be produced by PntosFusionPlugin.new_fusion_engine.

For example, suppose we have a variable PntosFusionPlugin* plugin. Then if the return value of plugin->is_fusion_type_supported(plugin, PNTOS_FUSION_STANDARD_MODEL) is true, then that means that plugin->new_fusion_engine(plugin) will return a PntosStandardFusionEngine*.