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

Handles requests to the PlusDevice. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PlusDevice
 Struct representing a PlusDevice. More...
 

Functions

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

Detailed Description

Handles requests to the PlusDevice.

PlusDevice is a specific implementation of a SensorDevice for zForce Plus(TM).

Function Documentation

DLLINTERNAL PlusDevice* PlusDevice_New ( Connection connection,
DeviceType  deviceType,
uint32_t  deviceIndex,
size_t  size 
)

Internal call used to create a new PlusDevice.

On failure, errno is set.

Parameters
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.
Returns
A pointer to the new Device.