11#if __has_include(<DebugGUI/DebugGUI.h>)
12#include <DebugGUI/DebugGUI.h>
14#pragma message "Building DPL without Debug GUI"
27#include <fairmq/Channel.h>
33 std::vector<DeviceSpec>
const& devices,
34 std::vector<DataProcessingStates>
const& allStates,
35 std::vector<DataProcessorInfo>
const& metadata,
36 std::vector<DeviceMetricsInfo>
const& metricsInfos,
37 DriverInfo
const& driverInfo,
38 std::vector<DeviceControl>& controls,
72 return o2::framework::initGUI(windowTitle);
76 o2::framework::disposeGUI();
80 o2::framework::getFrameRaw(
data, raw_data,
size, updateTextures);
84 return o2::framework::pollGUIPreRender(context, delta);
88 auto*
result = o2::framework::pollGUIRender(guiCallback);
95#if __has_include(<DebugGUI/DebugGUIAPIv3.h>)
104 o2::framework::pollGUIPostRender(context, draw_data);
#define DEFINE_DPL_PLUGIN_INSTANCE(NAME, KIND)
#define DEFINE_DPL_PLUGINS_END
#define DEFINE_DPL_PLUGINS_BEGIN
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 PrimaryVertex explicitly as messageable.
void updateMousePos(float x, float y) override
void updateMouseWheel(int direction) override
bool supportsDeferredClose() override
bool pollGUIPreRender(void *context, float delta) override
void charIn(char key) override
void pollGUIPostRender(void *context, void *draw_data) override
void * pollGUIRender(std::function< void(void)> guiCallback) override
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) override
void getFrameRaw(void *data, void **raw_data, int *size, bool updateTextures=false) override
void disposeGUI() override
void * initGUI(char const *windowTitle, ServiceRegistry ®istry_) override
void updateMouseButton(bool clicked) override
void keyEvent(char key, bool down) override
ServiceRegistry * registry
void updateWindowSize(int x, int y) override
Plugin interface for DPL GUIs.
void postRenderGUICallbacks()