Project
Loading...
Searching...
No Matches
GuiCallbackContext.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.
12
#ifndef O2_FRAMEWORK_GUICALLBACKCONTEXT_H_
13
#define O2_FRAMEWORK_GUICALLBACKCONTEXT_H_
14
15
#include "
Framework/DebugGUI.h
"
16
#include "
Framework/DeviceState.h
"
17
18
#include <functional>
19
#include <set>
20
#include <uv.h>
21
22
namespace
o2::framework
23
{
24
25
struct
GuiCallbackContext;
26
class
WSDPLHandler;
27
28
struct
GuiRenderer
{
29
uv_timer_t
drawTimer
;
30
WSDPLHandler
*
handler
=
nullptr
;
31
GuiCallbackContext
*
gui
=
nullptr
;
32
bool
guiConnected
=
false
;
35
bool
updateTextures
=
true
;
36
};
37
38
struct
GuiCallbackContext
{
39
uint64_t
frameLast
;
40
float
*
frameLatency
=
nullptr
;
41
float
*
frameCost
=
nullptr
;
42
void
*
lastFrame
=
nullptr
;
43
DebugGUI
*
plugin
=
nullptr
;
44
void
*
window
=
nullptr
;
45
bool
*
guiQuitRequested
=
nullptr
;
46
bool
*
allChildrenGone
=
nullptr
;
47
bool
*
guiTimerExpired
=
nullptr
;
48
std::function<
void
(
void
)>
callback
;
49
std::set<GuiRenderer*>
renderers
;
50
};
51
}
// namespace o2::framework
52
53
#endif
// O2_FRAMEWORK_GUICALLBACKCONTEXT_H_
uv_timer_t
struct uv_timer_s uv_timer_t
Definition
CCDBDownloader.h:32
DebugGUI.h
DeviceState.h
void
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
o2::framework
Defining PrimaryVertex explicitly as messageable.
Definition
TFIDInfo.h:20
o2::framework::DebugGUI
Plugin interface for DPL GUIs.
Definition
DebugGUI.h:30
o2::framework::GuiCallbackContext
Definition
GuiCallbackContext.h:38
o2::framework::GuiCallbackContext::frameLast
uint64_t frameLast
Definition
GuiCallbackContext.h:39
o2::framework::GuiCallbackContext::frameLatency
float * frameLatency
Definition
GuiCallbackContext.h:40
o2::framework::GuiCallbackContext::guiTimerExpired
bool * guiTimerExpired
Definition
GuiCallbackContext.h:47
o2::framework::GuiCallbackContext::plugin
DebugGUI * plugin
Definition
GuiCallbackContext.h:43
o2::framework::GuiCallbackContext::guiQuitRequested
bool * guiQuitRequested
Definition
GuiCallbackContext.h:45
o2::framework::GuiCallbackContext::window
void * window
Definition
GuiCallbackContext.h:44
o2::framework::GuiCallbackContext::lastFrame
void * lastFrame
Definition
GuiCallbackContext.h:42
o2::framework::GuiCallbackContext::frameCost
float * frameCost
Definition
GuiCallbackContext.h:41
o2::framework::GuiCallbackContext::callback
std::function< void(void)> callback
Definition
GuiCallbackContext.h:48
o2::framework::GuiCallbackContext::allChildrenGone
bool * allChildrenGone
Definition
GuiCallbackContext.h:46
o2::framework::GuiCallbackContext::renderers
std::set< GuiRenderer * > renderers
Definition
GuiCallbackContext.h:49
o2::framework::GuiRenderer
Definition
GuiCallbackContext.h:28
o2::framework::GuiRenderer::guiConnected
bool guiConnected
Definition
GuiCallbackContext.h:32
o2::framework::GuiRenderer::updateTextures
bool updateTextures
Definition
GuiCallbackContext.h:35
o2::framework::GuiRenderer::drawTimer
uv_timer_t drawTimer
Definition
GuiCallbackContext.h:29
o2::framework::GuiRenderer::gui
GuiCallbackContext * gui
Definition
GuiCallbackContext.h:31
o2::framework::GuiRenderer::handler
WSDPLHandler * handler
Definition
GuiCallbackContext.h:30
o2::framework::WSDPLHandler
Definition
DPLWebSocket.h:37
Framework
Core
include
Framework
GuiCallbackContext.h
Generated on Tue Feb 25 2025 23:16:38 for Project by
1.9.8