29#ifndef ngscopeclient_h
30#define ngscopeclient_h
32#include "../scopehal/scopehal.h"
34#define GLFW_INCLUDE_NONE
35#define GLFW_INCLUDE_VULKAN
36#include <GLFW/glfw3.h>
37#define IMGUI_DEFINE_MATH_OPERATORS
39#include <misc/cpp/imgui_stdlib.h>
40#include <backends/imgui_impl_glfw.h>
41#include <backends/imgui_impl_vulkan.h>
43#include "ImGuiDisabler.h"
65 std::shared_ptr<SCPIInstrument> inst;
66 std::atomic<bool>* shuttingDown;
70 std::shared_ptr<LoadState> loadstate;
71 std::shared_ptr<MultimeterState> meterstate;
72 std::shared_ptr<BERTState> bertstate;
73 std::shared_ptr<PowerSupplyState> psustate;
74 std::shared_ptr<FunctionGeneratorState> awgstate;
78void WaveformThread(
Session* session, std::atomic<bool>* shuttingDown);
82bool RectIntersect(ImVec2 posA, ImVec2 sizeA, ImVec2 posB, ImVec2 sizeB);
83bool RectContains(ImVec2 posA, ImVec2 sizeA, ImVec2 posB, ImVec2 sizeB);
Declaration of BERTState.
Declaration of FunctionGeneratorState.
Declaration of GuiLogSink.
Declaration of LoadState.
Declaration of MultimeterState.
Declaration of PowerSupplyState.
Definition: ngscopeclient.h:58
A Session stores all of the instrument configuration and other state the user has open.
Definition: Session.h:95
bool RectContains(ImVec2 posA, ImVec2 sizeA, ImVec2 posB, ImVec2 sizeB)
Check if a rectangle is completely within the other one.
Definition: main.cpp:217
void RightJustifiedText(const string &str)
Helper function for right justified text in a table.
Definition: main.cpp:162
bool RectIntersect(ImVec2 posA, ImVec2 sizeA, ImVec2 posB, ImVec2 sizeB)
Check if two rectangles intersect.
Definition: main.cpp:179