FireSync API
 All Classes Files Functions Variables Typedefs Friends Macros Modules Pages
kLight Class Reference

Description

Represents light configuration.

Inheritance diagram for kLight:
Inheritance graph

Public Member Functions

kStatus kLight_AddExtension (kLight light, kType type, kLightExt *extension)
 Creates and adds a new light control extension of the specified type. More...
 
kStatus kLight_AddState (kLight light, kLightState *state)
 Creates and adds a new state with default values. More...
 
kStatus kLight_Clear (kLight light, kSize stateCount)
 Resets light mode settings to defaults. More...
 
kStatus kLight_ClearAll (kLight light, kSize stateCount)
 Resets light mode and device settings to defaults. More...
 
kLightControl kLight_Control (kLight light)
 Reports the control mode of the light. More...
 
k32u kLight_ControlId (kLight light)
 Gets the control source id for a light. More...
 
kStatus kLight_ControlIdInfo (kLight light, kInfo *info)
 Reports constraint and validity information for the ControlId setting. More...
 
kStatus kLight_ControlInfo (kLight light, kInfoBits *info)
 Reports constraint and validity information for the Control setting. More...
 
kStatus kLight_DeleteExtension (kLight light, kLightExt extension)
 Destroys the specified light control extension and removes it from the light's extension list. More...
 
kStatus kLight_DeleteState (kLight light, kLightState state)
 Destroys the specified state and removes it from the light's state list. More...
 
kStatus kLight_Enable (kLight light, kBool enable)
 Enables or disables the light. More...
 
kStatus kLight_EnablePowerSaver (kLight light, kBool enabled)
 Enables power saver. More...
 
kLightExt kLight_ExtensionAt (kLight light, kSize index)
 Gets the control extension at the specified index. More...
 
kSize kLight_ExtensionCount (kLight light)
 Gets the number of control extensions that have been configured. More...
 
kSize kLight_Id (kLight light)
 Gets the id of the light module. More...
 
kBool kLight_IsEnabled (kLight light)
 Reports whether the light is currently enabled. More...
 
kBool kLight_IsLockedOut (kLight light)
 Reports whether light output is locked or not. More...
 
kStatus kLight_LockedOutInfo (kLight light, kInfoBool *info)
 Reports constraint and validity information for locking light output. More...
 
kStatus kLight_LockOut (kLight light, kBool shouldLock)
 Enables locking of light output. More...
 
k64u kLight_MinimumPeriod (kLight light)
 Reports the time required by this light to respond to an event. More...
 
kStatus kLight_Override (kLight light, const kLightOverrideItem *overrides, kSize count)
 Provides a list of configuration overrides to modify live light behaviour. More...
 
kStatus kLight_PowerEnabledSaverInfo (kLight light, kInfoBool *info)
 Reports constraint and validity information for the power saver. More...
 
kBool kLight_PowerSaverEnabled (kLight light)
 Reports whether power saver is currently enabled. More...
 
kStatus kLight_SetControl (kLight light, kLightControl type)
 Sets the control mode of the light. More...
 
kStatus kLight_SetControlId (kLight light, k32u id)
 Sets the control source id for a light. More...
 
kStatus kLight_SetOutputState (kLight light, kBool state)
 Sets output state. More...
 
kLightState kLight_StateAt (kLight light, kSize index)
 Gets the state at the specified index. More...
 
kSize kLight_StateCount (kLight light)
 Gets the number of states belonging to the light. More...
 
kStatus kLight_StateCountInfo (kLight light, kInfoSize *info)
 Reports constraint and validity information for the StateCount setting. More...
 
kStatus kLight_Stats (kLight light, kLightStats *stats)
 Retrieve statistics. More...
 
kStatus kLight_SwapStates (kLight light, kSize index0, kSize index1)
 Swaps the order of two states in the light's state list. More...
 
kStatus kLight_Trigger (kLight light)
 Provides a software trigger to a light. More...
 

The documentation for this class was generated from the following file: