Photon Editor Library
2.0.0-beta
A physically based renderer.
Toggle main menu visibility
Home
Components
Main Page
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
i
l
m
n
o
p
q
s
t
u
v
w
Functions
a
c
g
i
n
p
s
t
Variables
Typedefs
Enumerations
Enumerator
Concepts
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Functions
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
~
Variables
a
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
v
w
Typedefs
b
c
d
e
f
g
h
i
l
m
n
p
r
s
t
v
w
Enumerations
Enumerator
Related Symbols
Files
File List
File Members
All
f
i
l
p
t
Functions
Variables
Macros
f
i
p
▼
Photon Editor Library
Home
Components
►
Namespaces
►
Concepts
►
Classes
▼
Files
▼
File List
►
Include
▼
Source
►
Api
►
App
►
Designer
▼
EditorCore
►
Event
▼
Query
►
fwd.h
►
TConcurrentQueryManager.h
►
TQuery.h
TQuery.ipp
►
TQueryPerformer.h
TQueryPerformer.ipp
►
Storage
►
Thread
►
EKeyCode.h
►
EMouseCode.h
►
FileSystemExplorer.cpp
►
FileSystemExplorer.h
IDGenerator.cpp
►
IDGenerator.h
►
Program.cpp
►
Program.h
►
TClassEventDispatcher.h
►
TEventDispatcher.h
►
TEventListener.h
►
Platform
►
Procedure
►
Render
►
RenderCore
►
ThirdParty
►
editor_lib_config.h
►
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Concepts
Loading...
Searching...
No Matches
TQueryPerformer.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
EditorCore/Query/fwd.h
"
4
5
#include <atomic>
6
7
namespace
ph::editor
8
{
9
10
template
<
typename
Target>
11
class
TQueryPerformer
12
{
13
public
:
14
using
TargetType
= Target;
15
16
virtual
~TQueryPerformer
();
17
21
virtual
bool
performQuery
(Target& target) = 0;
22
27
bool
isReady
()
const
;
28
29
void
cancel
();
30
31
private
:
32
friend
TQuery<Target, TQueryPerformer>
;
33
38
void
queryDone();
39
40
bool
isCanceled()
const
;
41
42
std::atomic_flag m_readyFlag;
43
std::atomic_flag m_cancelFlag;
44
};
11
class
TQueryPerformer
{
…
};
45
46
}
// end namespace ph::editor
47
48
#include "
EditorCore/Query/TQueryPerformer.ipp
"
fwd.h
TQueryPerformer.ipp
ph::editor::TQuery
Definition
TQuery.h:29
ph::editor::TQueryPerformer
Definition
TQueryPerformer.h:12
ph::editor::TQueryPerformer::TargetType
Target TargetType
Definition
TQueryPerformer.h:14
ph::editor::TQueryPerformer::performQuery
virtual bool performQuery(Target &target)=0
ph::editor::TQueryPerformer::~TQueryPerformer
virtual ~TQueryPerformer()
ph::editor::TQueryPerformer::isReady
bool isReady() const
Whether the query was finished and the result is ready.
Definition
TQueryPerformer.ipp:12
ph::editor::TQueryPerformer::cancel
void cancel()
Definition
TQueryPerformer.ipp:26
ph::editor
Definition
ph_editor.h:10
Source
EditorCore
Query
TQueryPerformer.h
Generated by
1.11.0