Neonode zForce(TM) SDK

ReflectiveEdgeFilterMessage.h
Go to the documentation of this file.
1
8 #ifndef MESSAGE_REFLECTIVEEDGEFILTERMESSAGE_REFLECTIVEEDGEFILTERMESSAGE_H
9 #define MESSAGE_REFLECTIVEEDGEFILTERMESSAGE_REFLECTIVEEDGEFILTERMESSAGE_H 1
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
22 struct ReflectiveEdgeFilterMessage
23 {
29 MessageType MessageType;
35 MessageGroup MessageGroup;
41 bool Error;
47 int ErrorCode;
53 uint64_t SerialNumber;
59 void ( * Destructor)(Message * self);
60 bool FilterIsOn;
61 };
62
63 #ifdef __cplusplus
64 extern "C"
65 {
66 #endif // __cplusplus
67
83 DLLINTERNAL ReflectiveEdgeFilterMessage * ReflectiveEdgeFilterMessage_New (MessageGroup messageGroup, uint32_t size);
84
85 #ifdef __cplusplus
86 }
87 #endif // __cplusplus
88
89 #endif // MESSAGE_REFLECTIVEEDGEFILTERMESSAGE_REFLECTIVEEDGEFILTERMESSAGE_H
ReflectiveEdgeFilterMessage_New
DLLINTERNAL ReflectiveEdgeFilterMessage * ReflectiveEdgeFilterMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for ReflectiveEdgeFilterMessage.
Message
The main Message struct.
Definition: Message.h:21
ReflectiveEdgeFilterMessage
This structure represents a operation mode message.
Definition: ReflectiveEdgeFilterMessage.h:23
ReflectiveEdgeFilterMessage::Destructor
void(* Destructor)(Message *self)
Definition: ReflectiveEdgeFilterMessage.h:59
ReflectiveEdgeFilterMessage::SerialNumber
uint64_t SerialNumber
Definition: ReflectiveEdgeFilterMessage.h:53
ReflectiveEdgeFilterMessage::FilterIsOn
bool FilterIsOn
True when the filter is enabled.
Definition: ReflectiveEdgeFilterMessage.h:60
ReflectiveEdgeFilterMessage::MessageGroup
MessageGroup MessageGroup
Definition: ReflectiveEdgeFilterMessage.h:35
ReflectiveEdgeFilterMessage::ErrorCode
int ErrorCode
Definition: ReflectiveEdgeFilterMessage.h:47
ReflectiveEdgeFilterMessage::MessageType
MessageType MessageType
Definition: ReflectiveEdgeFilterMessage.h:29
ReflectiveEdgeFilterMessage::Error
bool Error
Definition: ReflectiveEdgeFilterMessage.h:41
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:134
MessageType
MessageType
Enum describing the different message types that exists.
Definition: zForceTypes.h:104