21#include <DebugGUI/DebugGUI.h>
22#include <DebugGUI/Sokol3DUtils.h>
23#include <DebugGUI/imgui.h>
37 {
"Collisions",
"AOD",
"COLLISION"}},
41 void* window = initGUI(
"A test window");
42 auto count = std::make_shared<int>(0);
43 sokol::init3DContext(window);
45 auto guiCallback = [
count]() {
46 ImGui::Begin(
"Some sub-window");
47 ImGui::Text(
"Counter value: %i", *
count);
51 callbacks.
set<CallbackService::Id::ClockTick>(
52 [
count, window, guiCallback]() {
53 (*count)++; window ? pollGUI(window, guiCallback) :
false; });
59 for (
auto& collision : myCollisions) {
60 LOGF(info,
"CollisionId %d", collision.globalIndex());
void readyToQuit(bool all)
Compatibility with old API.
std::shared_ptr< arrow::Table > asArrowTable()
Return the table in the message as a arrow::Table instance.
Collisions_001 Collisions
Defining PrimaryVertex explicitly as messageable.
std::vector< DataProcessorSpec > WorkflowSpec
AlgorithmSpec::ProcessCallback adaptStateless(LAMBDA l)
std::vector< InputSpec > Inputs
std::vector< OutputSpec > Outputs
AlgorithmSpec::InitCallback adaptStateful(LAMBDA l)
WorkflowSpec defineDataProcessing(ConfigContext const &)
This function hooks up the the workflow specifications into the DPL driver.