8 #ifndef K_FIRESYNC_LIGHT_H
9 #define K_FIRESYNC_LIGHT_H
368 #include <kFireSync/Client/kLight.x.h>
kSize kLight_Id(kLight light)
Gets the id of the light module.
kStatus kLight_SetOutputState(kLight light, kBool state)
Sets output state.
kStatus kLight_SwapStates(kLight light, kSize index0, kSize index1)
Swaps the order of two states in the light's state list.
kStatus kLight_Trigger(kLight light)
Provides a software trigger to a light.
Represents light override item.
Definition: kNodeDef.h:786
kStatus kLight_StateCountInfo(kLight light, kInfoSize *info)
Reports constraint and validity information for the StateCount setting.
kStatus kLight_AddExtension(kLight light, kType type, kLightExt *extension)
Creates and adds a new light control extension of the specified type.
k64u kLight_MinimumPeriod(kLight light)
Reports the time required by this light to respond to an event.
kStatus kLight_ControlIdInfo(kLight light, kInfo *info)
Reports constraint and validity information for the ControlId setting.
kLightExt kLight_ExtensionAt(kLight light, kSize index)
Gets the control extension at the specified index.
kStatus kLight_AddState(kLight light, kLightState *state)
Creates and adds a new state with default values.
Represents a light state configuration.
Represents constraint and validity information for a bit flag setting.
Definition: kInfo.h:454
kStatus kLight_Enable(kLight light, kBool enable)
Enables or disables the light.
Represents light run-time statistics.
Definition: kNodeDef.h:827
Essential declarations related to FireSync nodes.
kStatus kLight_Override(kLight light, const kLightOverrideItem *overrides, kSize count)
Provides a list of configuration overrides to modify live light behaviour.
kLightState kLight_StateAt(kLight light, kSize index)
Gets the state at the specified index.
kStatus kLight_SetControl(kLight light, kLightControl type)
Sets the control mode of the light.
kStatus kLight_ClearAll(kLight light, kSize stateCount)
Resets light mode and device settings to defaults.
kStatus kLight_DeleteState(kLight light, kLightState state)
Destroys the specified state and removes it from the light's state list.
kBool kLight_IsEnabled(kLight light)
Reports whether the light is currently enabled.
kStatus kLight_Stats(kLight light, kLightStats *stats)
Retrieve statistics.
Represents light configuration.
Represents light control modes.
kSize kLight_StateCount(kLight light)
Gets the number of states belonging to the light.
kStatus kLight_ControlInfo(kLight light, kInfoBits *info)
Reports constraint and validity information for the Control setting.
k32u kLight_ControlId(kLight light)
Gets the control source id for a light.
kStatus kLight_PowerEnabledSaverInfo(kLight light, kInfoBool *info)
Reports constraint and validity information for the power saver.
kStatus kLight_EnablePowerSaver(kLight light, kBool enabled)
Enables power saver.
kStatus kLight_SetControlId(kLight light, k32u id)
Sets the control source id for a light.
kStatus kLight_LockedOutInfo(kLight light, kInfoBool *info)
Reports constraint and validity information for locking light output.
kLightControl kLight_Control(kLight light)
Reports the control mode of the light.
Represents constraint and validity information for a kSize setting.
Definition: kInfo.h:295
kStatus kLight_DeleteExtension(kLight light, kLightExt extension)
Destroys the specified light control extension and removes it from the light's extension list...
kStatus kLight_Clear(kLight light, kSize stateCount)
Resets light mode settings to defaults.
Abstract base class for light control extension parameters.
kSize kLight_ExtensionCount(kLight light)
Gets the number of control extensions that have been configured.
Represents constraint and validity information for a general setting.
Definition: kInfo.h:45
kStatus kLight_LockOut(kLight light, kBool shouldLock)
Enables locking of light output.
kBool kLight_IsLockedOut(kLight light)
Reports whether light output is locked or not.
Represents constraint and validity information for a boolean setting.
Definition: kInfo.h:403
kBool kLight_PowerSaverEnabled(kLight light)
Reports whether power saver is currently enabled.