LTKCPP-- LLRP Toolkit C Plus Plus Library
include
ltkcpp_platform.h
Go to the documentation of this file.
1
2
/*
3
*****************************************************************************
4
* *
5
* IMPINJ CONFIDENTIAL AND PROPRIETARY *
6
* *
7
* This source code is the sole property of Impinj, Inc. Reproduction or *
8
* utilization of this source code in whole or in part is forbidden without *
9
* the prior written consent of Impinj, Inc. *
10
* *
11
* (c) Copyright Impinj, Inc. 2007,2008. All rights reserved. *
12
* *
13
*****************************************************************************/
14
26
/*
27
* Include file to establish context
28
* for the LLRP Tool Kit (LTK) C++ platform.
29
*/
30
31
#include <list>
32
#include <string.h>
/* memcpy() */
33
#include <time.h>
34
#include <stdlib.h>
35
#include <stdint.h>
36
37
#define FALSE 0
38
#define TRUE 1
39
40
namespace
LLRP
41
{
42
43
/*
44
* Typedefs of simple types.
45
* The LTK/C++ uses these types extensively.
46
* To retarget to another C++ platform change
47
* these typedefs. Everything else should be
48
* good to go.
49
*/
50
51
#ifdef linux
52
#include <stdint.h>
54
typedef
uint8_t llrp_u8_t;
56
typedef
int8_t llrp_s8_t;
58
typedef
uint16_t llrp_u16_t;
60
typedef
int16_t llrp_s16_t;
62
typedef
uint32_t llrp_u32_t;
64
typedef
int32_t llrp_s32_t;
66
typedef
uint64_t llrp_u64_t;
68
typedef
int64_t llrp_s64_t;
70
typedef
uint8_t llrp_u1_t;
72
typedef
uint8_t llrp_u2_t;
74
typedef
uint8_t llrp_utf8_t;
76
typedef
bool
llrp_bool_t;
78
typedef
uint8_t llrp_byte_t;
79
#endif
/* linux */
80
81
#ifdef WIN32
82
typedef
unsigned
char
llrp_u8_t;
83
typedef
signed
char
llrp_s8_t;
84
typedef
unsigned
short
llrp_u16_t;
85
typedef
signed
short
llrp_s16_t;
86
typedef
unsigned
int
llrp_u32_t;
87
typedef
signed
int
llrp_s32_t;
88
typedef
unsigned
long
long
llrp_u64_t;
89
typedef
signed
long
long
llrp_s64_t;
90
typedef
unsigned
char
llrp_u1_t;
91
typedef
unsigned
char
llrp_u2_t;
92
typedef
unsigned
char
llrp_utf8_t;
93
typedef
bool
llrp_bool_t;
94
typedef
unsigned
char
llrp_byte_t;
95
#endif
/* WIN32 */
96
97
};
/* namespace LLRP */
LLRP
Definition:
ltkcpp.h:45
Generated by
1.8.13