Files
allwpilib/simulation/halsim_gui/src/main/native/include/SimDeviceGui.h

27 lines
843 B
C
Raw Normal View History

/*----------------------------------------------------------------------------*/
2020-08-14 20:02:35 -07:00
/* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */
/* Open Source Software - may be modified and shared by FRC teams. The code */
/* must be accompanied by the FIRST BSD license file in the root directory of */
/* the project. */
/*----------------------------------------------------------------------------*/
#pragma once
#include <hal/SimDevice.h>
namespace glass {
class DataSource;
class DeviceTreeModel;
} // namespace glass
namespace halsimgui {
class SimDeviceGui {
public:
static void Initialize();
static glass::DataSource* GetValueSource(HAL_SimValueHandle handle);
static glass::DeviceTreeModel& GetDeviceTree();
};
} // namespace halsimgui