Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

DetectedObjectSizeRestrictionMessage.h
Go to the documentation of this file.
1
10 #if !defined(MESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H) && \
11 !defined(CONTAINS_DETECTEDOBJECTSIZERESTRICTIONMESSAGE)
12
13 #ifndef ZFORCECOMMON_H
14 #error Please include "zForceCommon.h" before this file.
15 #endif // ZFORCECOMMON_H
16
23 struct DetectedObjectSizeRestrictionMessage
24 {
25 #endif // !defined(.._DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H) && !defined(CONTAINS_DETECTEDOBJECTSIZERESTRICTIONMESSAGE)
26 #if !defined(MESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H) || \
27 defined(CONTAINS_DETECTEDOBJECTSIZERESTRICTIONMESSAGE)
28 #define CONTAINS_MESSAGE
29 #include <Message.h>
30 #undef CONTAINS_MESSAGE
31 uint32_t MinimumSize;
32 uint32_t MaximumSize;
33 bool HasMinimumSize;
34 bool HasMaximumSize;
35 #endif // !defined(..__DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H) || defined(CONTAINS_DETECTEDOBJECTSIZERESTRICTIONMESSAGE)
36 #if !defined(MESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H) && \
37 !defined(CONTAINS_DETECTEDOBJECTSIZERESTRICTIONMESSAGE)
38 };
39
40 #ifdef __cplusplus
41 extern "C"
42 {
43 #endif // __cplusplus
44
60 DLLINTERNAL DetectedObjectSizeRestrictionMessage * DetectedObjectSizeRestrictionMessage_New
61 (MessageGroup messageGroup, uint32_t size);
62
63 #ifdef __cplusplus
64 }
65 #endif // __cplusplus
66
67 #define MESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H
68 #endif // !defined(.._DETECTEDOBJECTSIZERESTRICTIONMESSAGE_H) && !defined(CONTAINS_DETECTEDOBJECTSIZERESTRICTIONMESSAGE)
69
Message.h
Base class for all Messages.
DetectedObjectSizeRestrictionMessage_New
DLLINTERNAL DetectedObjectSizeRestrictionMessage * DetectedObjectSizeRestrictionMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for DetectedObjectSizeRestrictionMessage.
DetectedObjectSizeRestrictionMessage::HasMaximumSize
bool HasMaximumSize
Is maximum size valid.
Definition: DetectedObjectSizeRestrictionMessage.h:34
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:122
DetectedObjectSizeRestrictionMessage
This structure represents a detected object size restriction message.
Definition: DetectedObjectSizeRestrictionMessage.h:23
DetectedObjectSizeRestrictionMessage::MinimumSize
uint32_t MinimumSize
Minimum size for device to detect.
Definition: DetectedObjectSizeRestrictionMessage.h:31
DetectedObjectSizeRestrictionMessage::HasMinimumSize
bool HasMinimumSize
Is minimum size valid.
Definition: DetectedObjectSizeRestrictionMessage.h:33
DetectedObjectSizeRestrictionMessage::MaximumSize
uint32_t MaximumSize
Maximum size for device to detect.
Definition: DetectedObjectSizeRestrictionMessage.h:32