2 * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
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
8 * http://www.apache.org/licenses/LICENSE-2.0
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.
17 //////////////////////////////////////////////////////////////////////////////////////////////////
18 /// \ingroup tag_NSLogger
19 /// \brief structures used by ns_logger.cpp for event and counter logging
23 //////////////////////////////////////////////////////////////////////////////////////////////////
26 * @brief \~english structures used by ns_logger.cpp for event and counter logging
29 /** @addtogroup BaseSystem
32 /** @addtogroup native_service
36 /** @addtogroup framework_unified
37 * @ingroup Native_service
40 /** @addtogroup native
41 * @ingroup framework_unified
44 #ifndef __NATIVESERVICES_EVENTLOGGER_H__ // NOLINT (build/header_guard)
45 #define __NATIVESERVICES_EVENTLOGGER_H__
52 // event log messageQ name
53 #define EVENTLOG_MSGQ_NAME "/EvntLogQue"
55 typedef enum _Datatype_ {
60 typedef enum _SystemPhase_ {
66 typedef enum _NStoSS_LOGGERSERVICEPROTOCOL {
67 SS_MSG_EVTLOG = 6463, // NS to Event Logger Thread
68 SS_MSG_LOGGERCNT, // NS to Event logger Thread
69 SS_MSG_LOGGER_CNT_EVTLOG // NS to event logger thread
70 } NStoSS_loggerserviceprotocol;
72 // Note: Don't remove #paragma pack(1) this is required for the
73 // ARM processor, forces data structures to be on a byte boundary
74 // all messages should be place in between #pragma pack(1) and #pragma pack()
76 typedef struct _stLogEvent_ {
88 typedef struct _stLogCount_ {
99 #endif /* __NATIVESERVICES_EVENTLOGGER_H__ */ // NOLINT (build/header_guard)