summaryrefslogtreecommitdiffstats
path: root/logger_service/server/include/ss_logger_error_event_cfg.h
diff options
context:
space:
mode:
Diffstat (limited to 'logger_service/server/include/ss_logger_error_event_cfg.h')
-rw-r--r--logger_service/server/include/ss_logger_error_event_cfg.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/logger_service/server/include/ss_logger_error_event_cfg.h b/logger_service/server/include/ss_logger_error_event_cfg.h
index b9b13094..1a0e39ef 100644
--- a/logger_service/server/include/ss_logger_error_event_cfg.h
+++ b/logger_service/server/include/ss_logger_error_event_cfg.h
@@ -1,5 +1,5 @@
/*
- * @copyright Copyright (c) 2016-2019 TOYOTA MOTOR CORPORATION.
+ * @copyright Copyright (c) 2016-2020 TOYOTA MOTOR CORPORATION.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -26,6 +26,8 @@
#include <map>
#include <string>
+#include "ss_logger_cfg.h"
+
typedef UI_32 ARTIFACT_BIT_MASK;
typedef UI_32 EVENT_BIT_MASK;
@@ -114,16 +116,17 @@ class CErrorEventCfg {
~CErrorEventCfg(void);
- EFrameworkunifiedStatus Initialize(void);
+ EFrameworkunifiedStatus Initialize(CLoggerCfg* p_logger_cfg);
void GetArtifactRequestVec(
EErrorEventType f_eventType,
std::vector<TLoggingArtifact> &f_refArtifactRequestVec); // NOLINT (runtime/references)
EVENT_BIT_MASK GetEventsForErrorEvent(EErrorEventType f_eventType);
private:
- UI_32 ValidateConfiguration(void);
+ UI_32 ValidateConfiguration();
TArtifactBitMaskMap m_errorEventTypeToArtifactBitMaskMap;
TArtifactMap m_errorArtifactMap;
+ UI_32 m_ext_log_num;
static TLoggingArtifactCfg m_loggerErrorEventCfgTbl[eErrorEventTypeMaxValue];
static TLoggingArtifact m_loggerErrorArtifactCfgTbl[eArtifactIdMaxValue];