|
FireSync API
|
| 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.
| probe | Destination for the constructed object handle. |
| name | Descriptive label (e.g. "Hw/Event0/QueueCount"). |
| id | Health stat identifier (or kHEALTH_ID_NULL). |
| instance | Distinguishes multiple health stats with same id. |
| defaultValue | Default probe value (if the probe is persistent and the kHEALTH_OPTION_RESTORE is provided, this default will be ignored). |
| provider | Health provider (or kNULL for default). |
| options | Health probe options. |
| allocator | Memory allocator (or kNULL for default). |