Neonode zForce(TM) SDK
Classes | Macros | Functions
AirDevice.h File Reference

Handles requests to the AirDevice. More...

#include <SensorDevice.h>
Include dependency graph for AirDevice.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


struct  AirDevice
 Struct representing an AirDevice. More...


DLLINTERNAL AirDeviceAirDevice_New (Connection *connection, DeviceType deviceType, uint32_t deviceIndex, size_t size)
 Internal call used to create a new AirDevice. More...

Detailed Description

Handles requests to the AirDevice.

AirDevice is a specific implementation of a SensorDevice for zForce Air(TM).

Function Documentation

DLLINTERNAL AirDevice* AirDevice_New ( Connection connection,
DeviceType  deviceType,
uint32_t  deviceIndex,
size_t  size 

Internal call used to create a new AirDevice.

On failure, errno is set.

connectionThe Connection the Device is associated with.
deviceTypeWhich DeviceType to create.
deviceIndexWhich Device Index to set.
sizeIf this is used as a base class for another class, set size to non-zero.
A pointer to the new Device.