mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-01 02:41:48 +00:00
[hal] Consistently use .hpp for C++ header content
Some headers were renamed, but others were split.
This commit is contained in:
@@ -6,14 +6,13 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/AddressableLEDDataInternal.h"
|
||||
#include "DigitalInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/AddressableLEDDataInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -9,11 +9,11 @@
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/string.h"
|
||||
|
||||
@@ -4,12 +4,11 @@
|
||||
|
||||
#include "wpi/hal/AnalogInput.h"
|
||||
|
||||
#include "AnalogInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/AnalogInDataInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "AnalogInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/AnalogInDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "AnalogInternal.h"
|
||||
#include "AnalogInternal.hpp"
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
IndexedHandleResource<HAL_AnalogInputHandle, wpi::hal::AnalogPort,
|
||||
|
||||
@@ -8,9 +8,9 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
constexpr int32_t kTimebase = 40000000; ///< 40 MHz clock
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/CAN.h"
|
||||
|
||||
#include "mockdata/CanDataInternal.h"
|
||||
#include "mockdata/CanDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -7,11 +7,11 @@
|
||||
#include <ctime>
|
||||
#include <memory>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/CAN.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/util/DenseMap.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/timestamp.h"
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/CTREPCMDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/CTREPCMDataInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/Constants.h"
|
||||
|
||||
#include "ConstantsInternal.h"
|
||||
#include "ConstantsInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
#include "wpi/hal/Counter.h"
|
||||
|
||||
#include "CounterInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "CounterInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -4,14 +4,14 @@
|
||||
|
||||
#include "wpi/hal/DIO.h"
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/DIODataInternal.h"
|
||||
#include "mockdata/DigitalPWMDataInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "DigitalInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/DIODataInternal.hpp"
|
||||
#include "mockdata/DigitalPWMDataInternal.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "DigitalInternal.h"
|
||||
#include "DigitalInternal.hpp"
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/DigitalHandleResource.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/DigitalHandleResource.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
|
||||
@@ -8,8 +8,8 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "wpi/hal/handles/DigitalHandleResource.h"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "wpi/hal/handles/DigitalHandleResource.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
/**
|
||||
@@ -16,11 +16,11 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "mockdata/DriverStationDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "mockdata/DriverStationDataInternal.hpp"
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.h"
|
||||
#include "wpi/hal/cpp/fpga_clock.hpp"
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
#include "wpi/util/EventVector.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
|
||||
@@ -6,13 +6,13 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/DutyCycleDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/DutyCycleDataInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -6,14 +6,14 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "CounterInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/EncoderDataInternal.h"
|
||||
#include "CounterInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/EncoderDataInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
#include "wpi/hal/handles/LimitedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -21,14 +21,14 @@ NtQueryTimerResolution(PULONG MinimumResolution, PULONG MaximumResolution,
|
||||
#endif // _WIN32
|
||||
|
||||
#include "ErrorsInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "MockHooksInternal.h"
|
||||
#include "mockdata/RoboRioDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "MockHooksInternal.hpp"
|
||||
#include "mockdata/RoboRioDataInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/Extensions.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "wpi/hal/simulation/DriverStationData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.hpp"
|
||||
#include "wpi/util/mutex.hpp"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
#include "wpi/hal/HALBase.h"
|
||||
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#include "wpi/hal/I2C.h"
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "mockdata/I2CDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "mockdata/I2CDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -2,14 +2,16 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <atomic>
|
||||
#include <chrono>
|
||||
#include <cstdio>
|
||||
#include <thread>
|
||||
|
||||
#include "MockHooksInternal.h"
|
||||
#include "NotifierInternal.h"
|
||||
#include "MockHooksInternal.hpp"
|
||||
#include "NotifierInternal.hpp"
|
||||
#include "wpi/hal/simulation/NotifierData.h"
|
||||
#include "wpi/util/print.hpp"
|
||||
#include "wpi/util/timestamp.h"
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/simulation/MockHooks.h"
|
||||
|
||||
namespace wpi::hal {
|
||||
void RestartTiming();
|
||||
|
||||
@@ -15,13 +15,13 @@
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "NotifierInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "NotifierInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/HALBase.h"
|
||||
#include "wpi/hal/Threads.h"
|
||||
#include "wpi/hal/Types.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.h"
|
||||
#include "wpi/hal/handles/UnlimitedHandleResource.hpp"
|
||||
#include "wpi/hal/simulation/NotifierData.h"
|
||||
#include "wpi/util/SafeThread.hpp"
|
||||
#include "wpi/util/SmallVector.hpp"
|
||||
|
||||
@@ -4,16 +4,14 @@
|
||||
|
||||
#include "wpi/hal/PWM.h"
|
||||
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
|
||||
#include "ConstantsInternal.h"
|
||||
#include "DigitalInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/PWMDataInternal.h"
|
||||
#include "wpi/hal/handles/HandlesInternal.h"
|
||||
#include "DigitalInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/PWMDataInternal.hpp"
|
||||
#include "wpi/hal/handles/HandlesInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/Ports.h"
|
||||
|
||||
#include "PortsInternal.h"
|
||||
#include "PortsInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/Power.h"
|
||||
|
||||
#include "mockdata/RoboRioDataInternal.h"
|
||||
#include "mockdata/RoboRioDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -6,11 +6,11 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "CANAPIInternal.h"
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/PowerDistributionDataInternal.h"
|
||||
#include "CANAPIInternal.hpp"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/PowerDistributionDataInternal.hpp"
|
||||
#include "wpi/hal/CANAPI.h"
|
||||
#include "wpi/hal/Errors.h"
|
||||
|
||||
|
||||
@@ -6,12 +6,12 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInternal.h"
|
||||
#include "PortsInternal.h"
|
||||
#include "mockdata/REVPHDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "HALInternal.hpp"
|
||||
#include "PortsInternal.hpp"
|
||||
#include "mockdata/REVPHDataInternal.hpp"
|
||||
#include "wpi/hal/Errors.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.h"
|
||||
#include "wpi/hal/handles/IndexedHandleResource.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include "wpi/hal/SerialPort.h"
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "HALInitializer.hpp"
|
||||
|
||||
namespace wpi::hal::init {
|
||||
void InitializeSerialPort() {}
|
||||
|
||||
@@ -2,12 +2,12 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "wpi/hal/SimDevice.h"
|
||||
#include "wpi/hal/SimDevice.hpp"
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "HALInitializer.h"
|
||||
#include "mockdata/SimDeviceDataInternal.h"
|
||||
#include "HALInitializer.hpp"
|
||||
#include "mockdata/SimDeviceDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -2,11 +2,10 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include <algorithm>
|
||||
#include <cstring>
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "AddressableLEDDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "AddressableLEDDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,11 +4,11 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <vector>
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/simulation/AddressableLEDData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/AddressableLEDTypes.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.hpp"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "AnalogInDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "AnalogInDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/simulation/AnalogInData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class AnalogInData {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "CTREPCMDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "CTREPCMDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "wpi/hal/simulation/CTREPCMData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class CTREPCMData {
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "CanDataInternal.h"
|
||||
#include "CanDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/simulation/CanData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "DIODataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "DIODataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/simulation/DIOData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class DIOData {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "DigitalPWMDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "DigitalPWMDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,8 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/simulation/DigitalPWMData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include <stdint.h>
|
||||
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class DigitalPWMData {
|
||||
@@ -11,7 +11,7 @@
|
||||
|
||||
#include <fmt/format.h>
|
||||
|
||||
#include "DriverStationDataInternal.h"
|
||||
#include "DriverStationDataInternal.hpp"
|
||||
#include "wpi/hal/DashboardOpMode.hpp"
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
|
||||
|
||||
@@ -12,8 +12,8 @@
|
||||
|
||||
#include "wpi/hal/DriverStationTypes.h"
|
||||
#include "wpi/hal/simulation/DriverStationData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.hpp"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "DutyCycleDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "DutyCycleDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -5,10 +5,8 @@
|
||||
#pragma once
|
||||
|
||||
#include <atomic>
|
||||
#include <limits>
|
||||
|
||||
#include "wpi/hal/simulation/DutyCycleData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class DutyCycleData {
|
||||
@@ -4,8 +4,8 @@
|
||||
|
||||
#include <limits>
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "EncoderDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "EncoderDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
#include <atomic>
|
||||
#include <limits>
|
||||
|
||||
#include "wpi/hal/simulation/EncoderData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class EncoderData {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "I2CDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "I2CDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/simulation/I2CData.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.hpp"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class I2CData {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "PWMDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "PWMDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "wpi/hal/simulation/PWMData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class PWMData {
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "PowerDistributionDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "PowerDistributionDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,9 +4,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "wpi/hal/simulation/PowerDistributionData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
|
||||
@@ -2,8 +2,8 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "REVPHDataInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "REVPHDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "wpi/hal/simulation/REVPHData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "wpi/hal/REVPH.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
class REVPHData {
|
||||
@@ -2,7 +2,7 @@
|
||||
// Open Source Software; you can modify and/or share it under the terms of
|
||||
// the WPILib BSD license file in the root directory of this project.
|
||||
|
||||
#include "../PortsInternal.h"
|
||||
#include "../PortsInternal.hpp"
|
||||
#include "wpi/hal/simulation/AddressableLEDData.h"
|
||||
#include "wpi/hal/simulation/AlertData.h"
|
||||
#include "wpi/hal/simulation/AnalogInData.h"
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "RoboRioDataInternal.h"
|
||||
#include "RoboRioDataInternal.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
|
||||
@@ -4,11 +4,12 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <cstddef>
|
||||
#include <stdint.h>
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "wpi/hal/simulation/RoboRioData.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.h"
|
||||
#include "wpi/hal/simulation/SimDataValue.hpp"
|
||||
#include "wpi/util/spinlock.hpp"
|
||||
|
||||
namespace wpi::hal {
|
||||
@@ -8,7 +8,7 @@
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
|
||||
#include "SimDeviceDataInternal.h"
|
||||
#include "SimDeviceDataInternal.hpp"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
|
||||
using namespace wpi::hal;
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "wpi/hal/Value.h"
|
||||
#include "wpi/hal/simulation/SimCallbackRegistry.h"
|
||||
#include "wpi/hal/simulation/NotifyListener.hpp"
|
||||
#include "wpi/hal/simulation/SimDeviceData.h"
|
||||
#include "wpi/util/StringExtras.hpp"
|
||||
#include "wpi/util/StringMap.hpp"
|
||||
Reference in New Issue
Block a user