Blender
V5.0
source
blender
blenlib
BLI_lazy_threading.hh
Go to the documentation of this file.
1
/* SPDX-FileCopyrightText: 2023 Blender Authors
2
*
3
* SPDX-License-Identifier: GPL-2.0-or-later */
4
5
#pragma once
6
59
60
#include "
BLI_function_ref.hh
"
61
62
namespace
blender::lazy_threading
{
63
68
void
send_hint
();
69
74
class
HintReceiver
{
75
public
:
81
HintReceiver
(
FunctionRef
<
void
()>
fn
);
82
~HintReceiver
();
83
};
84
90
class
ReceiverIsolation
{
91
public
:
92
ReceiverIsolation
();
93
~ReceiverIsolation
();
94
};
95
96
}
// namespace blender::lazy_threading
BLI_function_ref.hh
blender::FunctionRef
Definition
BLI_function_ref.hh:72
blender::lazy_threading::HintReceiver::~HintReceiver
~HintReceiver()
Definition
lazy_threading.cc:40
blender::lazy_threading::HintReceiver::HintReceiver
HintReceiver(FunctionRef< void()> fn)
Definition
lazy_threading.cc:35
blender::lazy_threading::ReceiverIsolation::ReceiverIsolation
ReceiverIsolation()
Definition
lazy_threading.cc:45
blender::lazy_threading::ReceiverIsolation::~ReceiverIsolation
~ReceiverIsolation()
Definition
lazy_threading.cc:50
blender::fn
Definition
BKE_attribute.hh:27
blender::lazy_threading
Definition
BLI_lazy_threading.hh:62
blender::lazy_threading::send_hint
void send_hint()
Definition
lazy_threading.cc:28
Generated on
for Blender by
doxygen
1.16.1