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.
22 * @brief \~english This file provides logger type's structures
25 /** @addtogroup BaseSystem
28 /** @addtogroup native_service
32 /** @addtogroup framework_unified
33 * @ingroup native_service
37 * @ingroup framework_unified
40 #ifndef _NS_RCS_LOGGER_IF_H_ // NOLINT (build/header_guard)
41 #define _NS_RCS_LOGGER_IF_H_
43 #include <native_service/ns_logger_if.h>
45 // protocol: NSRCS_SET_LOG_SETTINGS_REQ,
46 // NSRCS_SET_LOG_MASK_REQ,
47 // NSRCS_SET_LOG_OUT_OPT_REQ,
48 // NSRCS_SET_LOG_SEVERITY_REQ
49 typedef struct _TNSRCS_SetLogSettingsReq {
51 TFrameworkunifiedZoneMask m_pui32ZoneMask;
52 UI_8 m_ui8OutputLogOption;
53 TFrameworkunifiedLoggerSeverity m_si32Severity;
54 } TNSRCS_SetLogSettingsReq;
56 // protocol: NSRCS_SET_LOG_SETTINGS_RESP
57 typedef struct _TNSRCS_SetLogSettingsResp {
60 TFrameworkunifiedZoneMask m_pui32ZoneMask;
61 UI_8 m_ui8OutputLogOption;
62 TFrameworkunifiedLoggerSeverity m_si32Severity;
63 } TNSRCS_SetLogSettingsResp;
65 // protocol: NSRCS_GET_LOG_SETTINGS_REQ
66 typedef struct _TNSRCS_GetLogSettingsReq {
68 } TNSRCS_GetLogSettingsReq;
70 // protocol: NSRCS_GET_LOG_SETTINGS_RESP
71 typedef struct _TNSRCS_GetLogSettingsResp {
73 CHAR m_cZoneList[BITS_IN_ZONE_MASK][ZONE_TEXT_SIZE];
74 TFrameworkunifiedZoneMask m_pui32ZoneMask;
75 UI_8 m_ui8OutputLogOption;
76 TFrameworkunifiedLoggerSeverity m_si32Severity;
77 } TNSRCS_GetLogSettingsResp;
79 // protocol: NSRCS_SET_LOG_MASK_RESP
80 typedef struct _TNSRCS_SetLogMaskResp {
83 TFrameworkunifiedZoneMask m_pui32ZoneMask;
84 } TNSRCS_SetLogMaskResp;
86 // protocol: NSRCS_SET_LOG_OUT_OPT_RESP
87 typedef struct _TNSRCS_SetLogOutOptResp {
90 UI_8 m_ui8OutputLogOption;
91 } TNSRCS_SetLogOutOptResp;
93 // protocol: NSRCS_SET_LOG_SEVERITY_RESP
94 typedef struct _TNSRCS_SetLogSeverityResp {
98 } TNSRCS_SetLogSeverityResp;
100 #endif /* _NS_RCS_LOGGER_IF_H_ */ // NOLINT (build/header_guard)