11 #ifndef DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H
12 #define DEVICE_LIGHTINGDEVICE_LIGHTINGDEVICE_H 1
14 #ifndef ZFORCECOMMON_H
15 #error Please include "zForceCommon.h" before this file.
67 uint32_t deviceIndex,
size_t size);
DLLINTERNAL LightingDevice * LightingDevice_New(Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
Internal call used to create a LightingDevice.
The main Connection struct.
Definition: Connection.h:66
Device base class.
Definition: Device.h:26
Struct representing a LightingDevice.
Definition: LightingDevice.h:24
Connection * Connection
The Connection this Device is part of.
Definition: LightingDevice.h:26
zForce * zForce
Pointer to zForce.
Definition: LightingDevice.h:25
DeviceType DeviceType
Which type of Device this is.
Definition: LightingDevice.h:27
void(* Destructor)(Device *self)
Destructor.
Definition: LightingDevice.h:43
uint32_t DeviceIndex
Which Device Index this device has.
Definition: LightingDevice.h:28
uint32_t NumberOfStorageDevices
Number of Storage Devices.
Definition: LightingDevice.h:30
void * PrivateProtocolData
Private Protocol Data.
Definition: LightingDevice.h:31
Device ** StorageDevices
Future: List of Storage Devices. Will change type during implementation.
Definition: LightingDevice.h:29
Main struct.
Definition: zForce.h:29
DeviceType
Enum describing the different device types that exists.
Definition: zForceTypes.h:90