TnEHProvider
services
include
interface
datastruct
tn_diagnostics_event.h
Go to the documentation of this file.
1
9
#ifndef __TN_DIAGNOSTICS_EVENT_H__
10
#define __TN_DIAGNOSTICS_EVENT_H__
11
12
#include "../tn_export.h"
13
#include <string>
14
#include <map>
15
namespace
tn
16
{
17
namespace
ehp
18
{
19
using
TnDiagnosticsEventContext
= std::map<std::string, std::string>;
20
21
enum class
TN_EHP_API_DECL
TnDiagnosticsEventType
22
{
26
DIAGNOSTICS_FAILURE_EVENT
= 0,
27
31
DIAGNOSTICS_GENERIC_EVENT
32
};
33
34
struct
TN_EHP_API_DECL
TnDiagnosticsEvent
35
{
36
TnDiagnosticsEventType
event_type
;
37
TnDiagnosticsEventContext
diagnostics_context
;
38
};
39
}
// namespace ehp
40
}
// namespace tn
41
#endif //__TN_DIAGNOSTICS_EVENT_H__
tn::ehp::TnDiagnosticsEvent::event_type
TnDiagnosticsEventType event_type
Definition:
tn_diagnostics_event.h:36
tn::ehp::TnDiagnosticsEvent
Definition:
tn_diagnostics_event.h:35
DIAGNOSTICS_FAILURE_EVENT
DIAGNOSTICS_FAILURE_EVENT
Known failure event.
Definition:
tn_diagnostics_event.h:26
tn
Definition:
tn_adas_message.h:15
TN_EHP_API_DECL
#define TN_EHP_API_DECL
Definition:
tn_export.h:46
tn::ehp::TnDiagnosticsEvent::diagnostics_context
TnDiagnosticsEventContext diagnostics_context
Definition:
tn_diagnostics_event.h:37
tn::ehp::TnDiagnosticsEventContext
std::map< std::string, std::string > TnDiagnosticsEventContext
Definition:
tn_diagnostics_event.h:19
Generated by
1.8.18