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"
17
18#include <functional>
19#include <set>
20#include <uv.h>
21
22namespace o2::framework
23{
24
25struct GuiCallbackContext;
26class WSDPLHandler;
27
37
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_
struct uv_timer_s uv_timer_t
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
Defining PrimaryVertex explicitly as messageable.
Definition TFIDInfo.h:20
Plugin interface for DPL GUIs.
Definition DebugGUI.h:30
std::function< void(void)> callback
std::set< GuiRenderer * > renderers