2019-09-23 00:24:10 -07:00
|
|
|
/*----------------------------------------------------------------------------*/
|
2020-08-14 20:02:35 -07:00
|
|
|
/* Copyright (c) 2019-2020 FIRST. All Rights Reserved. */
|
2019-09-23 00:24:10 -07:00
|
|
|
/* 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
|
|
|
|
|
|
2020-09-12 10:55:46 -07:00
|
|
|
#include <hal/SimDevice.h>
|
2019-09-23 00:24:10 -07:00
|
|
|
|
2020-09-12 10:55:46 -07:00
|
|
|
namespace glass {
|
|
|
|
|
class DataSource;
|
|
|
|
|
class DeviceTreeModel;
|
|
|
|
|
} // namespace glass
|
2019-09-23 00:24:10 -07:00
|
|
|
|
|
|
|
|
namespace halsimgui {
|
|
|
|
|
|
|
|
|
|
class SimDeviceGui {
|
|
|
|
|
public:
|
|
|
|
|
static void Initialize();
|
2020-09-12 10:55:46 -07:00
|
|
|
static glass::DataSource* GetValueSource(HAL_SimValueHandle handle);
|
|
|
|
|
static glass::DeviceTreeModel& GetDeviceTree();
|
2019-09-23 00:24:10 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
} // namespace halsimgui
|