Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
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
15QT_BEGIN_NAMESPACE
16
17namespace QtOhos {
18
20{
21public:
23
24 virtual bool trySend() const = 0;
25
26protected:
28};
29
31{
32public:
34
35 virtual void addParam(const std::string &paramName, const std::string &paramValue) = 0;
36 virtual void addParam(const std::string &paramName, std::int64_t paramValue) = 0;
37
38 virtual std::shared_ptr<BigEventLoggingEvent> buildEvent() const = 0;
39
40protected:
42};
43
45 const std::string &eventName, ::EventType eventType,
46 std::chrono::time_point<std::chrono::system_clock> eventTime);
47
48}
49
50QT_END_NAMESPACE
51
52#endif
CZString(const char *value)
virtual void addParam(const std::string &paramName, const std::string &paramValue)=0
virtual void addParam(const std::string &paramName, std::int64_t paramValue)=0
virtual std::shared_ptr< BigEventLoggingEvent > buildEvent() const =0
virtual bool trySend() const =0
std::shared_ptr< BigEventLoggingEventBuilder > makeBigEventLoggingEventBuilder(const std::string &eventName, ::EventType eventType, std::chrono::time_point< std::chrono::system_clock > eventTime)