Neonode zForce(TM) SDK

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