Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

EnableMessage.h
Go to the documentation of this file.
1
9 #if !defined(MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H) && !defined(CONTAINS_ENABLEMESSAGE)
10
11 #ifndef ZFORCECOMMON_H
12 #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14
22 struct EnableMessage
23 {
24 #endif // !defined(MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H) && !defined(CONTAINS_ENABLEMESSAGE)
25 #if !defined(MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H) || defined(CONTAINS_ENABLEMESSAGE)
26 #define CONTAINS_MESSAGE
27 #include <Message.h>
28 #undef CONTAINS_MESSAGE
29 bool Enabled;
30 bool ContinuousMode;
31 uint32_t NumberOfMessages;
32 #endif // !defined(MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H) || defined(CONTAINS_ENABLEMESSAGE)
33 #if !defined(MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H) && !defined(CONTAINS_ENABLEMESSAGE)
34 };
35
36 #ifdef __cplusplus
37 extern "C"
38 {
39 #endif // __cplusplus
40
56 DLLINTERNAL EnableMessage * EnableMessage_New (MessageGroup messageGroup,
57 uint32_t size);
58
59 #ifdef __cplusplus
60 }
61 #endif // __cplusplus
62
63 #define MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H
64 #endif // !defined(MESSAGE_ENABLEMESSAGE_ENABLEMESSAGE_H) && !defined(CONTAINS_ENABLEMESSAGE)
65
Message.h
Base class for all Messages.
EnableMessage::NumberOfMessages
uint32_t NumberOfMessages
Number Of Messages.
Definition: EnableMessage.h:31
EnableMessage::Enabled
bool Enabled
Is Device Enabled.
Definition: EnableMessage.h:29
EnableMessage_New
DLLINTERNAL EnableMessage * EnableMessage_New(MessageGroup messageGroup, uint32_t size)
Internal constructor for EnableMessage.
EnableMessage::ContinuousMode
bool ContinuousMode
Is Device set to Continuous Mode.
Definition: EnableMessage.h:30
MessageGroup
MessageGroup
Enum describing the different groups a message can belong to.
Definition: zForceTypes.h:128
EnableMessage
This structure represents an enable message.
Definition: EnableMessage.h:22