common_library: gettid is multiple declaration in cl_error
[staging/basesystem.git] / video_in_hal / vehicleservice / positioning / client / include / DeadReckoning_DbgLogSim.h
1 /*
2  * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16
17 #ifndef POSITIONING_CLIENT_INCLUDE_DEADRECKONING_DBGLOGSIM_H_
18 #define POSITIONING_CLIENT_INCLUDE_DEADRECKONING_DBGLOGSIM_H_
19
20 /*******************************************************************************
21  FILE        : DeadReckoning_DbgLogSim.h
22  SYSTEM        : _CWORD64_ platform development
23  SUBSYSTEM    : Log Simulator for Debugging
24  PROGRAM    : PastModel002*1 log read
25  FUNC LIST    :
26 --------------------------------------------------------------------------------
27
28 *******************************************************************************/
29
30 #include "Dead_Reckoning_API.h"
31
32 #define DR_DBG_LOG_PACKET_HEAD_SIZE    (4)        /* DR_LOG_PACKET_HEAD_SIZE */
33 #define DR_DBG_LOG_SIM_BUFF_SIZE       (0x200)
34
35 #define DR_DBG_LOG_SIM_DATA_NONE       (-1)
36 #define DR_DBG_LOG_SIM_DATA_GPS        (1)
37 #define DR_DBG_LOG_SIM_DATA_SENSOR     (2)
38
39 /*
40  * prototype
41  * public functions
42  */
43
44 void DeadReckoningDbgLogSimInit(void);
45 void DeadReckoningDbgLogSimDispose(void);
46
47 BOOL DeadReckoningDbgLogSimIsDbgLogSimMode(void);
48 int DeadReckoningDbgLogSimReadPacket(u_int8 *, size_t, int16 *);
49
50 #endif  // POSITIONING_CLIENT_INCLUDE_DEADRECKONING_DBGLOGSIM_H_