Neonode zForce(TM) SDK
StreamingDataFrame.h
Go to the documentation of this file.
1 
8 #ifndef DATAFRAME_STREAMINGDATAFRAME_H
9 #define DATAFRAME_STREAMINGDATAFRAME_H 1
10 
11 #ifndef ZFORCECOMMON_H
12  #error Please include "zForceCommon.h" before this file.
13 #endif // ZFORCECOMMON_H
14 
25 {
34  char * DataFrameType;
61  void (* Destructor) (DataFrame * self);
62 
63  uint8_t * Data;
64  uint32_t Length;
65 };
66 
67 #ifdef __cplusplus
68 extern "C"
69 {
70 #endif // __cplusplus
71 
83 DLLEXTERNAL StreamingDataFrame * StreamingDataFrame_New (uint64_t relativeTimeoutMilliSeconds, uint32_t length);
84 
85 #ifdef __cplusplus
86 }
87 #endif // __cplusplus
88 
92 #define STREAMINGDATAFRAMETYPE "Streaming"
93 
94 #endif // DATAFRAME_STREAMINGDATAFRAME_H
DLLEXTERNAL StreamingDataFrame * StreamingDataFrame_New(uint64_t relativeTimeoutMilliSeconds, uint32_t length)
Create a new StreamingDataFrame.
The main Connection struct.
Definition: Connection.h:66
Struct containing the DataFrame information.
Definition: DataFrame.h:25
Struct containing the StreamingDataFrame information.
Definition: StreamingDataFrame.h:25
void(* Destructor)(DataFrame *self)
Destructor for StreamingDataFrame.
Definition: StreamingDataFrame.h:61
Connection * Connection
A Connection pointer that associates the DataFrame with the Connection.
Definition: StreamingDataFrame.h:42
uint32_t Length
Length of the data.
Definition: StreamingDataFrame.h:64
uint64_t RelativeTimeoutMilliSeconds
Relative timeout in MilliSeconds.
Definition: StreamingDataFrame.h:50
char * DataFrameType
A string pointer to the type of DataFrame.
Definition: StreamingDataFrame.h:34
uint8_t * Data
Pointer to the data.
Definition: StreamingDataFrame.h:63