8 #ifndef K_FIRESYNC_HEALTH_PROBE_H
9 #define K_FIRESYNC_HEALTH_PROBE_H
12 #include <kFireSync/Health/kHealthProbe.x.h>
110 return xkHealthProbe_ConstructImpl(probe, name,
id, instance, defaultValue, provider, options, allocator);
127 return xkHealthProbe_VTable(probe)->VSetValue(probe, value);
140 return xkHealthProbe_VTable(probe)->VAddValue(probe, value);
163 return xkHealthProbe_VTable(probe)->VSetBaseline(probe, baseline);
179 return xkHealthProbe_VTable(probe)->VUpdateBaseline(probe);
194 return xkHealthProbe_VTable(probe)->VValue(probe);
236 return obj->instance;
k32u kHealthProbe_Instance(kHealthProbe probe)
Reports the instance of the health probe.
Definition: kHealthProbe.h:232
const kChar * kHealthProbe_Name(kHealthProbe probe)
Reports the name of the health probe.
Definition: kHealthProbe.h:204
kStatus kHealthProbe_SetBaseline(kHealthProbe probe, k64s baseline)
Sets the baseline value.
Definition: kHealthProbe.h:161
k32u kHealthProbe_Id(kHealthProbe probe)
Reports the ID of the health probe.
Definition: kHealthProbe.h:218
Represents a bitset of health probe options.
Essential declarations related to FireSync nodes.
#define kHEALTH_OPTION_STREAM
Send probe via health updates.
Definition: kNodeDef.h:2726
Base class for a health statistics collection service.
#define kObj(TypeName_T, T_object)
kStatus kHealthProbe_SetValue(kHealthProbe probe, k64s value)
Sets the current value of a health probe.
Definition: kHealthProbe.h:125
Represents a health probe.
kHealthOption kHealthProbe_Options(kHealthProbe probe)
Reports the options associated with the indicator.
Definition: kHealthProbe.h:246
kStatus kHealthProbe_UpdateBaseline(kHealthProbe probe)
Transfers the current probe value to the baseline.
Definition: kHealthProbe.h:177
k64s kHealthProbe_Value(kHealthProbe probe)
Reports the current value of the health probe.
Definition: kHealthProbe.h:192
kStatus kHealthProbe_AddValue(kHealthProbe probe, k64s value)
Adds an amount to the current value of a health probe.
Definition: kHealthProbe.h:138
kStatus kHealthProbe_Construct(kHealthProbe *probe, const kChar *name, k32u id, k32u instance, k64s initialValue, kAlloc allocator)
Constructs a kHealthProbe object with default provider and options.
Definition: kHealthProbe.h:87