Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Toggle main menu visibility
Loading...
Searching...
No Matches
qohosbigdataeventlogging.h
Go to the documentation of this file.
1
// Copyright (C) 2025 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only
3
4
#
ifndef
QOHOSBIGDATAEVENTLOGGING_H
5
#
define
QOHOSBIGDATAEVENTLOGGING_H
6
7
#
include
<
QtCore
/
private
/
qohoscommon_p
.
h
>
8
#
include
<
QtCore
/
qglobal
.
h
>
9
#
include
<
chrono
>
10
#
include
<
cstdint
>
11
#
include
<
hiappevent
/
hiappevent
.
h
>
12
#
include
<
memory
>
13
#
include
<
string
>
14
15
QT_BEGIN_NAMESPACE
16
17
namespace
QtOhos
{
18
19
class
BigEventLoggingEvent
20
{
21
public
:
22
virtual
~
BigEventLoggingEvent
();
23
24
virtual
bool
trySend
()
const
= 0;
25
26
protected
:
27
BigEventLoggingEvent
();
28
};
29
30
class
BigEventLoggingEventBuilder
31
{
32
public
:
33
virtual
~
BigEventLoggingEventBuilder
();
34
35
virtual
void
addParam
(
const
std
::string ¶mName,
const
std
::string ¶mValue) = 0;
36
virtual
void
addParam
(
const
std
::string ¶mName,
std
::int64_t paramValue) = 0;
37
38
virtual
std
::shared_ptr<
BigEventLoggingEvent
>
buildEvent
()
const
= 0;
39
40
protected
:
41
BigEventLoggingEventBuilder
();
42
};
43
44
std
::shared_ptr<
BigEventLoggingEventBuilder
>
makeBigEventLoggingEventBuilder
(
45
const
std
::string &eventName, ::EventType eventType,
46
std::chrono::time_point<std::chrono::system_clock> eventTime);
47
48
}
49
50
QT_END_NAMESPACE
51
52
#
endif
QArkUi::CZString
Definition
qarkuiutils.h:24
QArkUi::CZString::CZString
CZString(const char *value)
Definition
qarkuiutils.h:145
QtOhos::BigEventLoggingEventBuilder
Definition
qohosbigdataeventlogging.h:31
QtOhos::BigEventLoggingEventBuilder::~BigEventLoggingEventBuilder
virtual ~BigEventLoggingEventBuilder()
QtOhos::BigEventLoggingEventBuilder::BigEventLoggingEventBuilder
BigEventLoggingEventBuilder()
QtOhos::BigEventLoggingEventBuilder::addParam
virtual void addParam(const std::string ¶mName, const std::string ¶mValue)=0
QtOhos::BigEventLoggingEventBuilder::addParam
virtual void addParam(const std::string ¶mName, std::int64_t paramValue)=0
QtOhos::BigEventLoggingEventBuilder::buildEvent
virtual std::shared_ptr< BigEventLoggingEvent > buildEvent() const =0
QtOhos::BigEventLoggingEvent
Definition
qohosbigdataeventlogging.h:20
QtOhos::BigEventLoggingEvent::trySend
virtual bool trySend() const =0
QtOhos::BigEventLoggingEvent::~BigEventLoggingEvent
virtual ~BigEventLoggingEvent()
QtOhos::BigEventLoggingEvent::BigEventLoggingEvent
BigEventLoggingEvent()
QArkUi
Definition
displaymanager.cpp:17
QtOhos
Definition
qcore_ohos.cpp:59
QtOhos::makeBigEventLoggingEventBuilder
std::shared_ptr< BigEventLoggingEventBuilder > makeBigEventLoggingEventBuilder(const std::string &eventName, ::EventType eventType, std::chrono::time_point< std::chrono::system_clock > eventTime)
Definition
qohosbigdataeventlogging.cpp:196
std
[33]
Definition
src_corelib_tools_qhash.cpp:421
qtbase
src
plugins
platforms
ohos
qohosbigdataeventlogging.h
Generated on
for Qt by
1.18.0