Project
Loading...
Searching...
No Matches
GPUDisplayGUIWrapper.h
Go to the documentation of this file.
1
// Copyright 2019-2020 CERN and copyright holders of ALICE O2.
2
// See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
3
// All rights not expressly granted are reserved.
4
//
5
// This software is distributed under the terms of the GNU General Public
6
// License v3 (GPL Version 3), copied verbatim in the file "COPYING".
7
//
8
// In applying this license CERN does not waive the privileges and immunities
9
// granted to it by virtue of its status as an Intergovernmental Organization
10
// or submit itself to any jurisdiction.
11
14
15
#ifndef GPUDISPLAYGUIWRAPPER_H
16
#define GPUDISPLAYGUIWRAPPER_H
17
18
#include "
GPUCommonDef.h
"
19
#include <memory>
20
21
namespace
o2::gpu
22
{
23
struct
GPUDisplayGUIChannel;
24
namespace
internal
25
{
26
struct
GPUDisplayGUIWrapperObjects;
27
}
// namespace internal
28
29
class
GPUDisplayGUIWrapper
30
{
31
public
:
32
explicit
GPUDisplayGUIWrapper
(GPUDisplayGUIChannel& channel);
// Starts the GUI thread, which owns the QApplication
33
~GPUDisplayGUIWrapper
();
34
bool
isRunning
()
const
;
35
36
int32_t
start
();
37
int32_t
stop
();
38
int32_t
focus
();
// Bring the GUI window to the front
39
40
private
:
41
GPUDisplayGUIChannel& mChannel;
42
std::unique_ptr<internal::GPUDisplayGUIWrapperObjects> mO;
43
44
void
guiThread();
45
};
46
}
// namespace o2::gpu
47
#endif
// GPUDISPLAYGUIWRAPPER_H
GPUCommonDef.h
o2::gpu::GPUDisplayGUIWrapper::stop
int32_t stop()
Definition
GPUDisplayGUIWrapper.cxx:107
o2::gpu::GPUDisplayGUIWrapper::isRunning
bool isRunning() const
Definition
GPUDisplayGUIWrapper.cxx:128
o2::gpu::GPUDisplayGUIWrapper::focus
int32_t focus()
Definition
GPUDisplayGUIWrapper.cxx:119
o2::gpu::GPUDisplayGUIWrapper::GPUDisplayGUIWrapper
GPUDisplayGUIWrapper(GPUDisplayGUIChannel &channel)
Definition
GPUDisplayGUIWrapper.cxx:50
o2::gpu::GPUDisplayGUIWrapper::start
int32_t start()
Definition
GPUDisplayGUIWrapper.cxx:96
o2::gpu::GPUDisplayGUIWrapper::~GPUDisplayGUIWrapper
~GPUDisplayGUIWrapper()
Definition
GPUDisplayGUIWrapper.cxx:59
o2::gpu
Definition
TrackTRD.h:36
GPU
GPUTracking
display
frontend
GPUDisplayGUIWrapper.h
Generated on Mon Oct 26 2026 19:20:32 for Project by
1.9.8