Neonode zForce(TM) SDK

NumberOfTrackedObjectsMessage.h
Go to the documentation of this file.
1
8 #ifndef MESSAGE_NUMBEROFTRACKEDOBJECTSMESSAGE_NUMBEROFTRACKEDOBJECTSMESSAGE_H
9 #define MESSAGE_NUMBEROFTRACKEDOBJECTSMESSAGE_NUMBEROFTRACKEDOBJECTSMESSAGE_H 1
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
20 struct NumberOfTrackedObjectsMessage
21 {
27 MessageType MessageType;
33 MessageGroup MessageGroup;
39 bool Error;
45 int ErrorCode;
51 uint64_t SerialNumber;
57 void ( * Destructor)(Message * self);
58 uint32_t NumberOfTrackedObjects;
59 };
60
61 #ifdef __cplusplus
62 extern "C"
63 {
64 #endif // __cplusplus
65
81 DLLINTERNAL NumberOfTrackedObjectsMessage * NumberOfTrackedObjectsMessage_New (MessageGroup messageGroup,
82 uint32_t size);
83
84 #ifdef __cplusplus
85 }
86 #endif // __cplusplus
87
88 #endif // MESSAGE_NUMBEROFTRACKEDOBJECTSMESSAGE_NUMBEROFTRACKEDOBJECTSMESSAGE_H
NumberOfTrackedObjectsMessage_New
DLLINTERNAL NumberOfTrackedObjectsMessage * NumberOfTrackedObjectsMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for NumberOfTrackedObjectsMessage.
Message
The main Message struct.
Definition: Message.h:21
NumberOfTrackedObjectsMessage
This structure represents a number of tracked objects message.
Definition: NumberOfTrackedObjectsMessage.h:21
NumberOfTrackedObjectsMessage::MessageGroup
MessageGroup MessageGroup
Definition: NumberOfTrackedObjectsMessage.h:33
NumberOfTrackedObjectsMessage::NumberOfTrackedObjects
uint32_t NumberOfTrackedObjects
Tracked objects count.
Definition: NumberOfTrackedObjectsMessage.h:58
NumberOfTrackedObjectsMessage::SerialNumber
uint64_t SerialNumber
Definition: NumberOfTrackedObjectsMessage.h:51
NumberOfTrackedObjectsMessage::Error
bool Error
Definition: NumberOfTrackedObjectsMessage.h:39
NumberOfTrackedObjectsMessage::Destructor
void(* Destructor)(Message *self)
Definition: NumberOfTrackedObjectsMessage.h:57
NumberOfTrackedObjectsMessage::MessageType
MessageType MessageType
Definition: NumberOfTrackedObjectsMessage.h:27
NumberOfTrackedObjectsMessage::ErrorCode
int ErrorCode
Definition: NumberOfTrackedObjectsMessage.h:45
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