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

Handles requests to the CoreDevice. More...

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

Go to the source code of this file.

Classes

struct  CoreDevice
 Struct representing a CoreDevice. More...
 

Functions

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

Detailed Description

Handles requests to the CoreDevice.

CoreDevice is a specific implementation of a SensorDevice for zForce Core(TM).

Function Documentation

DLLINTERNAL CoreDevice* CoreDevice_New ( Connection connection,
DeviceType  deviceType,
uint32_t  deviceIndex,
size_t  size 
)

Internal call used to create a new CoreDevice.

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.