FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kStatus kHealthProbe_Construct ( kHealthProbe probe,
const kChar name,
k32u  id,
k32u  instance,
k64s  defaultValue,
kHealth  provider,
kHealthOption  options,
kAlloc  allocator 
)

Constructs a kHealthProbe object with the specified provider and options.

Refer to the kHealthProbe class summary for more information on construction options.

Parameters
probeDestination for the constructed object handle.
nameDescriptive label (e.g. "Hw/Event0/QueueCount").
idHealth stat identifier (or kHEALTH_ID_NULL).
instanceDistinguishes multiple health stats with same id.
defaultValueDefault probe value (if the probe is persistent and the kHEALTH_OPTION_RESTORE is provided, this default will be ignored).
providerHealth provider (or kNULL for default).
optionsHealth probe options.
allocatorMemory allocator (or kNULL for default).
Returns
Operation status.