CRC_FrameworkServices

Fields

crc_int_t

pluginApiMajorVer

crc_int_t

pluginApiMinorVer

CRC_RegisterCalculatorFunc

registerCalculatorFunc

CRC_LogFunc

logFunc

CRC_SetPluginInfoFunc

setPluginInfoFunc

Detailed Description

struct CRC_FrameworkServices

Aggregates the services that the plugin framework provides to the plugin.

This includes version of the plugin API, registering result calculators and functions for logging and reporting information on the plugin itself. This struct is passed to each plugin at initialization time.

Public Members

crc_int_t pluginApiMajorVer

Major version of the framework plugin API.

crc_int_t pluginApiMinorVer

Minor version of the framework plugin API.

CRC_RegisterCalculatorFunc registerCalculatorFunc

Function for registering result calculators.

CRC_LogFunc logFunc

Function pointer for log function.

CRC_SetPluginInfoFunc setPluginInfoFunc

Function pointer for communicating plugin info.