Neonode zForce(TM) SDK
Public Attributes | List of all members
TouchMessage Struct Reference

This structure represents a touch message. More...

#include <TouchMessage.h>

Public Attributes

MessageType MessageType
 
MessageGroup MessageGroup
 
bool Error
 
int ErrorCode
 
uint64_t SerialNumber
 
void(* Destructor )(Message *self)
 
uint32_t Id
 Id of the Touch.
 
TouchEvent Event
 Event of the Touch.
 
uint32_t X
 X axis value.
 
bool HasX
 True when X is valid.
 
uint32_t Y
 Y axis value.
 
bool HasY
 True when Y is valid.
 
uint32_t Z
 Z axis value.
 
bool HasZ
 True when Z is valid.
 
uint32_t SizeX
 Size of the object on the X axis.
 
bool HasSizeX
 True when SizeX is valid.
 
uint32_t SizeY
 Size of the object on the Y axis.
 
bool HasSizeY
 True when SizeY is valid.
 
uint32_t SizeZ
 Size of the object on the Z axis.
 
bool HasSizeZ
 True when SizeZ is valid.
 
TouchOrientation Orientation
 Orientation of the object.
 
bool HasOrientation
 True when Orientation is valid.
 
uint32_t Confidence
 Detection confidence.
 
bool HasConfidence
 True when Confidence is valid.
 
uint32_t Pressure
 Pressure of the object.
 
bool HasPressure
 True when Pressure is valid.
 
uint64_t Timestamp
 Message timestamp.
 
bool HasTimestamp
 True when Timestamp is valid.
 

Detailed Description

This structure represents a touch message.

This structure represents a message containing touch information.

Member Data Documentation

◆ Destructor

void( * TouchMessage::Destructor) (Message *self)

Destructor.

Inherited from Message base class.

◆ Error

bool TouchMessage::Error

If an error occurred, this is True.

Inherited from Message base class.

◆ ErrorCode

int TouchMessage::ErrorCode

Error Code, valid when Error == true.

Inherited from Message base class.

◆ MessageGroup

MessageGroup TouchMessage::MessageGroup

The Message Group of the Message.

Inherited from Message base class.

◆ MessageType

MessageType TouchMessage::MessageType

The Message Type of the Message.

Inherited from Message base class.

◆ SerialNumber

uint64_t TouchMessage::SerialNumber

Unique serial number for this message.

Inherited from Message base class.


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