Project
Loading...
Searching...
No Matches
FrameworkGUIDebugger.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#ifndef O2_FRAMEWORK_FRAMEWORKGUIDEBUGGER_H_
12#define O2_FRAMEWORK_FRAMEWORKGUIDEBUGGER_H_
13
20
21#include <functional>
22#include <vector>
23
24namespace o2::framework
25{
26
27class DriverInfo;
28class DriverControl;
29
30namespace gui
31{
33std::function<void(void)> getGUIDebugger(std::vector<DeviceInfo> const& infos,
34 std::vector<DeviceSpec> const& devices,
35 std::vector<DataProcessingStates> const& allStates,
36 std::vector<DataProcessorInfo> const& metadata,
37 std::vector<DeviceMetricsInfo> const& metricsInfos,
38 DriverInfo const& driverInfo,
39 std::vector<DeviceControl>& controls,
40 DriverControl& driverControl);
41
42void updateMousePos(float x, float y);
43void updateMouseButton(bool clicked);
44void updateMouseWheel(int direction);
45void updateWindowSize(int x, int y);
46void keyEvent(char key, bool pressed);
47void charIn(char key);
48
49} // namespace gui
50} // namespace o2::framework
51#endif // O2_FRAMEWORK_FRAMEWORKGUIDEBUGGER_H_
StringRef key
GLint GLenum GLint x
Definition glcorearb.h:403
typedef void(APIENTRYP PFNGLCULLFACEPROC)(GLenum mode)
void updateMouseButton(bool clicked)
void keyEvent(char key, bool down)
std::function< void(void)> getGUIDebugger(std::vector< DeviceInfo > const &infos, std::vector< DeviceSpec > const &devices, std::vector< DataProcessingStates > const &allStates, std::vector< DataProcessorInfo > const &metadata, std::vector< DeviceMetricsInfo > const &metricsInfos, DriverInfo const &driverInfo, std::vector< DeviceControl > &controls, DriverControl &driverControl)
Helper to get the callback to draw the debug GUI.
void updateMousePos(float x, float y)
void updateWindowSize(int x, int y)
void updateMouseWheel(int direction)
Defining ITS Vertex explicitly as messageable.
Definition Cartesian.h:288