Neonode zForce(TM) SDK

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

SerialTransport.h
Go to the documentation of this file.
1
12 #if !defined(TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H) && !defined(CONTAINS_SERIALTRANSPORT)
13
14 #ifndef ZFORCECOMMON_H
15 #error Please include "zForceCommon.h" before this file.
16 #endif // ZFORCECOMMON_H
17
21 typedef struct SerialTransport SerialTransport;
29 struct SerialTransport
30 {
31 #endif // !defined(TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H) && !defined(CONTAINS_SERIALTRANSPORT)
32 #if !defined(TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H) || defined(CONTAINS_SERIALTRANSPORT)
33 #define CONTAINS_TRANSPORT
34 #include <Transport.h>
35 #undef CONTAINS_TRANSPORT
36 int FileDescriptor;
37 #endif // !defined(TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H) || defined(CONTAINS_SERIALTRANSPORT)
38 #if !defined(TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H) && !defined(CONTAINS_SERIALTRANSPORT)
39 };
40
41 #ifdef __cplusplus
42 extern "C"
43 {
44 #endif // __cplusplus
45
69 DLLINTERNAL bool SerialTransport_AddSerialTransportEntry (void);
70
71 #ifdef __cplusplus
72 }
73 #endif // __cplusplus
74
78 #define RECEIVEBUFFERSIZE 128
79
80 #define TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H
81 #endif // !defined(TRANSPORT_SERIALTRANSPORT_SERIALTRANSPORT_H) && !defined(CONTAINS_SERIALTRANSPORT)
82
SerialTransport_AddSerialTransportEntry
DLLINTERNAL bool SerialTransport_AddSerialTransportEntry(void)
Internal call to add a SerialTransport to the list of available transports.
Transport.h
Transport Base class.
SerialTransport::FileDescriptor
int FileDescriptor
Instance-specific file descriptor.
Definition: SerialTransport.h:36
SerialTransport
Struct containing the SerialTransport information.
Definition: SerialTransport.h:29