ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
PyPrintLogger.h
Go to the documentation of this file.
1
// ----------------------------------------------------------------------------
2
// - CloudViewer: www.cloudViewer.org -
3
// ----------------------------------------------------------------------------
4
// Copyright (c) 2018-2024 www.cloudViewer.org
5
// SPDX-License-Identifier: MIT
6
// ----------------------------------------------------------------------------
7
8
#pragma once
9
#include <
CVLog.h
>
10
11
#undef slots
12
#include <pybind11/pybind11.h>
13
14
#include <mutex>
15
16
namespace
py
=
pybind11
;
17
25
class
PyPrintLogger
:
public
CVLog
26
{
27
public
:
28
PyPrintLogger
() =
default
;
29
30
~PyPrintLogger
()
override
=
default
;
31
32
void
logMessage
(
const
QString &message,
int
level)
override
;
33
34
private
:
35
std::mutex m_lock;
36
};
CVLog.h
CVLog
Main log interface.
Definition:
CVLog.h:25
PyPrintLogger
Definition:
PyPrintLogger.h:26
PyPrintLogger::PyPrintLogger
PyPrintLogger()=default
PyPrintLogger::~PyPrintLogger
~PyPrintLogger() override=default
PyPrintLogger::logMessage
void logMessage(const QString &message, int level) override
Generic message logging method.
Definition:
PyPrintLogger.cpp:10
pybind11
Definition:
cloudViewer_pybind.h:95
plugins
core
Standard
qPythonRuntime
wrapper
pycc
src
PyPrintLogger.h
Generated on Wed Jan 28 2026 09:01:08 for ACloudViewer by
1.9.1