8 #ifndef MESSAGE_MESSAGE_H
9 #define MESSAGE_MESSAGE_H 1
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
76 #if defined(USE_ENABLEMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
80 #if defined(USE_DISABLEMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
84 #if defined(USE_OPERATIONMODESMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
88 #if defined(USE_RESOLUTIONMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
92 #if defined(USE_TOUCHACTIVEAREAMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
96 #if defined(USE_TOUCHMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
100 #if defined(USE_NUMBEROFTRACKEDOBJECTSMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
104 #if defined(USE_FINGERFREQUENCYMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
108 #if defined(USE_IDLEFREQUENCYMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
112 #if defined(USE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE) || !defined(COMPILING_ZFORCE_SDK)
116 #if defined(USE_REVERSETOUCHACTIVEAREAMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
120 #if defined(USE_MCUUNIQUEIDENTIFIERMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
124 #if defined(USE_OFFSETMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
128 #if defined(USE_HIDDISPLAYSIZEMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
132 #if defined(USE_FLIPXYMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
136 #if defined(USE_REFLECTIVEEDGEFILTERMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
140 #if defined(USE_MERGETOUCHESMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
144 #if defined(USE_TOUCHMODEMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
148 #if defined(USE_FLOATINGPROTECTIONMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
152 #if defined(USE_SNAPPINGFILTERMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
156 #if defined (USE_DOUBLECLICKPREVENTIONMESSAGE) || !defined (COMPILING_ZFORCE_SDK)
A DetectedObjectSizeRestrictionMessage contains Detected Object Size Restrictions of a Device.
A DisableMessage that disables a Device.
A DoubleClickPreventionMessage configures the double-click prevention for the device.
An EnableMessage that enables a Device.
A FingerFrequencyMessage.
A FlipXYMessage that contains a bool for wether the axes are flipped or not.
A FloatingProtectionMessage configures the floating protection for the device.
A HidDisplaySizeMessage that contains the HID Display Size.
An McuUniqueIdentifierMessage that contains the MCU Unique Identifier.
A MergeTouchesMessage sets the mode for the device to handle all simultaneous touching objects as one...
DLLEXTERNAL Message * Message_GetInstance(MessageType messageType, MessageGroup messageGroup)
Factory creator for Messages.
DLLINTERNAL Message * Message_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for Message.
A NumberOfTrackedObjectsMessage containing how many objects are tracked at once.
An OffsetMessage that contains the Offset a Device is set to.
An OperationModesMessage contains the modes the Device is set to.
A ReflectiveEdgeFilterMessage contains the modes the Device is set to.
A ResolutionMessage that contains the Resolution a Device is set to.
A ReverseTouchActiveAreaMessage contains the Touch Active Area of a Device.
An SnappingFilterMessage that contains the snapping filter a Device is set to.
A TouchActiveAreaMessage contains the Touch Active Area of a Device.
An TouchMessage contains the Data of a Touch.
A TouchModeMessage sets the touch mode for the device.
The main Message struct.
Definition: Message.h:21
bool Error
If an error occurred, this is True.
Definition: Message.h:24
int ErrorCode
Error Code, valid when Error == true.
Definition: Message.h:25
void(* Destructor)(Message *self)
Destructor.
Definition: Message.h:27
MessageType MessageType
The Message Type of the Message.
Definition: Message.h:22
MessageGroup MessageGroup
The Message Group of the Message.
Definition: Message.h:23
uint64_t SerialNumber
Unique serial number for this message.
Definition: Message.h:26
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104