Move CameraServer and WPILib headers into their own folder

The old headers were moved into folders because doing so avoids polluting
the system include directories.

Folder names were also normalized to lowercase.
This commit is contained in:
Tyler Veness
2018-07-20 00:03:45 -07:00
committed by Peter Johnson
parent 31ced30c1e
commit d89b7dd412
728 changed files with 1876 additions and 1851 deletions

View File

@@ -5,9 +5,9 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Accelerometer.h"
#include "hal/Accelerometer.h"
#include "MockData/AccelerometerDataInternal.h"
#include "mockdata/AccelerometerDataInternal.h"
using namespace hal;

View File

@@ -5,10 +5,10 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/AnalogAccumulator.h"
#include "hal/AnalogAccumulator.h"
#include "AnalogInternal.h"
#include "MockData/AnalogInDataInternal.h"
#include "mockdata/AnalogInDataInternal.h"
using namespace hal;

View File

@@ -5,17 +5,17 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/AnalogGyro.h"
#include "hal/AnalogGyro.h"
#include <chrono>
#include <thread>
#include "AnalogInternal.h"
#include "HAL/AnalogAccumulator.h"
#include "HAL/AnalogInput.h"
#include "HAL/handles/IndexedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/AnalogGyroDataInternal.h"
#include "hal/AnalogAccumulator.h"
#include "hal/AnalogInput.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/AnalogGyroDataInternal.h"
namespace {
struct AnalogGyro {

View File

@@ -5,13 +5,13 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/AnalogInput.h"
#include "hal/AnalogInput.h"
#include "AnalogInternal.h"
#include "HAL/handles/HandlesInternal.h"
#include "HALInitializer.h"
#include "MockData/AnalogInDataInternal.h"
#include "PortsInternal.h"
#include "hal/handles/HandlesInternal.h"
#include "mockdata/AnalogInDataInternal.h"
using namespace hal;

View File

@@ -7,8 +7,8 @@
#include "AnalogInternal.h"
#include "HAL/AnalogInput.h"
#include "PortsInternal.h"
#include "hal/AnalogInput.h"
namespace hal {
IndexedHandleResource<HAL_AnalogInputHandle, hal::AnalogPort, kNumAnalogInputs,

View File

@@ -11,9 +11,9 @@
#include <memory>
#include "HAL/Ports.h"
#include "HAL/handles/IndexedHandleResource.h"
#include "PortsInternal.h"
#include "hal/Ports.h"
#include "hal/handles/IndexedHandleResource.h"
namespace hal {
constexpr int32_t kTimebase = 40000000; ///< 40 MHz clock

View File

@@ -5,14 +5,14 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/AnalogOutput.h"
#include "hal/AnalogOutput.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/IndexedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/AnalogOutDataInternal.h"
#include "PortsInternal.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/AnalogOutDataInternal.h"
using namespace hal;

View File

@@ -5,17 +5,17 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/AnalogTrigger.h"
#include "hal/AnalogTrigger.h"
#include "AnalogInternal.h"
#include "HAL/AnalogInput.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/LimitedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/AnalogInDataInternal.h"
#include "MockData/AnalogTriggerDataInternal.h"
#include "PortsInternal.h"
#include "hal/AnalogInput.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/LimitedHandleResource.h"
#include "mockdata/AnalogInDataInternal.h"
#include "mockdata/AnalogTriggerDataInternal.h"
namespace {
struct AnalogTrigger {

View File

@@ -5,9 +5,9 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/CAN.h"
#include "hal/CAN.h"
#include "MockData/CanDataInternal.h"
#include "mockdata/CanDataInternal.h"
using namespace hal;

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/CANAPI.h"
#include "hal/CANAPI.h"
#include <atomic>
#include <ctime>
@@ -13,11 +13,11 @@
#include <wpi/DenseMap.h>
#include "CANAPIInternal.h"
#include "HAL/CAN.h"
#include "HAL/Errors.h"
#include "HAL/HAL.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "HALInitializer.h"
#include "hal/CAN.h"
#include "hal/Errors.h"
#include "hal/HAL.h"
#include "hal/handles/UnlimitedHandleResource.h"
using namespace hal;

View File

@@ -7,7 +7,7 @@
#pragma once
#include "HAL/Types.h"
#include "hal/Types.h"
namespace hal {
namespace can {

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "Simulation/CallbackStore.h"
#include "simulation/CallbackStore.h"
void frc::sim::CallbackStoreThunk(const char* name, void* param,
const HAL_Value* value) {

View File

@@ -5,13 +5,13 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Compressor.h"
#include "hal/Compressor.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HALInitializer.h"
#include "MockData/PCMDataInternal.h"
#include "PortsInternal.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "mockdata/PCMDataInternal.h"
using namespace hal;

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Constants.h"
#include "hal/Constants.h"
#include "ConstantsInternal.h"

View File

@@ -5,14 +5,14 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Counter.h"
#include "hal/Counter.h"
#include "CounterInternal.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/LimitedHandleResource.h"
#include "HALInitializer.h"
#include "PortsInternal.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/LimitedHandleResource.h"
namespace hal {

View File

@@ -7,9 +7,9 @@
#pragma once
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/LimitedHandleResource.h"
#include "PortsInternal.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/LimitedHandleResource.h"
namespace hal {

View File

@@ -5,17 +5,17 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/DIO.h"
#include "hal/DIO.h"
#include <cmath>
#include "DigitalInternal.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/LimitedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/DIODataInternal.h"
#include "MockData/DigitalPWMDataInternal.h"
#include "PortsInternal.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/LimitedHandleResource.h"
#include "mockdata/DIODataInternal.h"
#include "mockdata/DigitalPWMDataInternal.h"
using namespace hal;

View File

@@ -8,10 +8,10 @@
#include "DigitalInternal.h"
#include "ConstantsInternal.h"
#include "HAL/AnalogTrigger.h"
#include "HAL/HAL.h"
#include "HAL/Ports.h"
#include "PortsInternal.h"
#include "hal/AnalogTrigger.h"
#include "hal/HAL.h"
#include "hal/Ports.h"
namespace hal {

View File

@@ -11,12 +11,12 @@
#include <memory>
#include "HAL/AnalogTrigger.h"
#include "HAL/Ports.h"
#include "HAL/Types.h"
#include "HAL/handles/DigitalHandleResource.h"
#include "HAL/handles/HandlesInternal.h"
#include "PortsInternal.h"
#include "hal/AnalogTrigger.h"
#include "hal/Ports.h"
#include "hal/Types.h"
#include "hal/handles/DigitalHandleResource.h"
#include "hal/handles/HandlesInternal.h"
namespace hal {
/**

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/DriverStation.h"
#include "hal/DriverStation.h"
#ifdef __APPLE__
#include <pthread.h>
@@ -20,8 +20,8 @@
#include <wpi/mutex.h>
#include "HALInitializer.h"
#include "MockData/DriverStationDataInternal.h"
#include "MockData/MockHooks.h"
#include "mockdata/DriverStationDataInternal.h"
#include "mockdata/MockHooks.h"
static wpi::mutex msgMutex;
static wpi::condition_variable* newDSDataAvailableCond;

View File

@@ -5,16 +5,16 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Encoder.h"
#include "hal/Encoder.h"
#include "CounterInternal.h"
#include "HAL/Counter.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/LimitedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/EncoderDataInternal.h"
#include "PortsInternal.h"
#include "hal/Counter.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/LimitedHandleResource.h"
#include "mockdata/EncoderDataInternal.h"
using namespace hal;

View File

@@ -5,12 +5,12 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Extensions.h"
#include "hal/Extensions.h"
#include <wpi/SmallString.h>
#include <wpi/StringRef.h>
#include "HAL/HAL.h"
#include "hal/HAL.h"
#if defined(WIN32) || defined(_WIN32)
#include <windows.h>

View File

@@ -5,18 +5,18 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/HAL.h"
#include "hal/HAL.h"
#include <wpi/raw_ostream.h>
#include "ErrorsInternal.h"
#include "HAL/DriverStation.h"
#include "HAL/Errors.h"
#include "HAL/Extensions.h"
#include "HAL/handles/HandlesInternal.h"
#include "HALInitializer.h"
#include "MockData/RoboRioDataInternal.h"
#include "MockHooksInternal.h"
#include "hal/DriverStation.h"
#include "hal/Errors.h"
#include "hal/Extensions.h"
#include "hal/handles/HandlesInternal.h"
#include "mockdata/RoboRioDataInternal.h"
using namespace hal;

View File

@@ -7,7 +7,7 @@
#include "HALInitializer.h"
#include "HAL/HAL.h"
#include "hal/HAL.h"
namespace hal {
namespace init {

View File

@@ -5,10 +5,10 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/I2C.h"
#include "hal/I2C.h"
#include "HALInitializer.h"
#include "MockData/I2CDataInternal.h"
#include "mockdata/I2CDataInternal.h"
using namespace hal;

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Interrupts.h"
#include "hal/Interrupts.h"
#include <memory>
@@ -14,17 +14,17 @@
#include "AnalogInternal.h"
#include "DigitalInternal.h"
#include "ErrorsInternal.h"
#include "HAL/AnalogTrigger.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/LimitedHandleResource.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/AnalogInDataInternal.h"
#include "MockData/DIODataInternal.h"
#include "MockData/HAL_Value.h"
#include "MockHooksInternal.h"
#include "PortsInternal.h"
#include "hal/AnalogTrigger.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/LimitedHandleResource.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/AnalogInDataInternal.h"
#include "mockdata/DIODataInternal.h"
#include "mockdata/HAL_Value.h"
using namespace hal;

View File

@@ -9,7 +9,7 @@
#include <stdint.h>
#include "MockData/MockHooks.h"
#include "mockdata/MockHooks.h"
namespace hal {
void RestartTiming();

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Notifier.h"
#include "hal/Notifier.h"
#include <chrono>
@@ -13,10 +13,10 @@
#include <wpi/mutex.h>
#include <wpi/timestamp.h>
#include "HAL/HAL.h"
#include "HAL/cpp/fpga_clock.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "HALInitializer.h"
#include "hal/HAL.h"
#include "hal/cpp/fpga_clock.h"
#include "hal/handles/UnlimitedHandleResource.h"
namespace {
struct Notifier {

View File

@@ -5,14 +5,14 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/PDP.h"
#include "hal/PDP.h"
#include "CANAPIInternal.h"
#include "HAL/CANAPI.h"
#include "HAL/handles/IndexedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/PDPDataInternal.h"
#include "PortsInternal.h"
#include "hal/CANAPI.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/PDPDataInternal.h"
using namespace hal;

View File

@@ -5,14 +5,14 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/PWM.h"
#include "hal/PWM.h"
#include "ConstantsInternal.h"
#include "DigitalInternal.h"
#include "HAL/handles/HandlesInternal.h"
#include "HALInitializer.h"
#include "MockData/PWMDataInternal.h"
#include "PortsInternal.h"
#include "hal/handles/HandlesInternal.h"
#include "mockdata/PWMDataInternal.h"
using namespace hal;

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Ports.h"
#include "hal/Ports.h"
#include "PortsInternal.h"

View File

@@ -5,9 +5,9 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Power.h"
#include "hal/Power.h"
#include "MockData/RoboRioDataInternal.h"
#include "mockdata/RoboRioDataInternal.h"
using namespace hal;

View File

@@ -5,12 +5,12 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Relay.h"
#include "hal/Relay.h"
#include "HAL/handles/IndexedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/RelayDataInternal.h"
#include "PortsInternal.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/RelayDataInternal.h"
using namespace hal;

View File

@@ -5,10 +5,10 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/SPI.h"
#include "hal/SPI.h"
#include "HALInitializer.h"
#include "MockData/SPIDataInternal.h"
#include "mockdata/SPIDataInternal.h"
using namespace hal;

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/SerialPort.h"
#include "hal/SerialPort.h"
#include "HALInitializer.h"

View File

@@ -5,14 +5,14 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Solenoid.h"
#include "hal/Solenoid.h"
#include "HAL/Errors.h"
#include "HAL/handles/HandlesInternal.h"
#include "HAL/handles/IndexedHandleResource.h"
#include "HALInitializer.h"
#include "MockData/PCMDataInternal.h"
#include "PortsInternal.h"
#include "hal/Errors.h"
#include "hal/handles/HandlesInternal.h"
#include "hal/handles/IndexedHandleResource.h"
#include "mockdata/PCMDataInternal.h"
namespace {
struct Solenoid {

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "HAL/Threads.h"
#include "hal/Threads.h"
namespace hal {
namespace init {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/AccelerometerData.h"
#include "edu_wpi_first_hal_sim_mockdata_AccelerometerDataJNI.h"
#include "mockdata/AccelerometerData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/AnalogGyroData.h"
#include "edu_wpi_first_hal_sim_mockdata_AnalogGyroDataJNI.h"
#include "mockdata/AnalogGyroData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/AnalogInData.h"
#include "edu_wpi_first_hal_sim_mockdata_AnalogInDataJNI.h"
#include "mockdata/AnalogInData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/AnalogOutData.h"
#include "edu_wpi_first_hal_sim_mockdata_AnalogOutDataJNI.h"
#include "mockdata/AnalogOutData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/AnalogTriggerData.h"
#include "edu_wpi_first_hal_sim_mockdata_AnalogTriggerDataJNI.h"
#include "mockdata/AnalogTriggerData.h"
extern "C" {

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
using namespace wpi::java;
using namespace sim;

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
namespace sim {
class BufferCallbackStore {

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
using namespace wpi::java;
using namespace sim;

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
namespace sim {
class CallbackStore {

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
using namespace wpi::java;
using namespace sim;

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
namespace sim {
class ConstBufferCallbackStore {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/DIOData.h"
#include "edu_wpi_first_hal_sim_mockdata_DIODataJNI.h"
#include "mockdata/DIOData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/DigitalPWMData.h"
#include "edu_wpi_first_hal_sim_mockdata_DigitalPWMDataJNI.h"
#include "mockdata/DigitalPWMData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/DriverStationData.h"
#include "edu_wpi_first_hal_sim_mockdata_DriverStationDataJNI.h"
#include "mockdata/DriverStationData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/EncoderData.h"
#include "edu_wpi_first_hal_sim_mockdata_EncoderDataJNI.h"
#include "mockdata/EncoderData.h"
extern "C" {

View File

@@ -10,8 +10,8 @@
#include "BufferCallbackStore.h"
#include "CallbackStore.h"
#include "ConstBufferCallbackStore.h"
#include "MockData/I2CData.h"
#include "edu_wpi_first_hal_sim_mockdata_I2CDataJNI.h"
#include "mockdata/I2CData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/PCMData.h"
#include "edu_wpi_first_hal_sim_mockdata_PCMDataJNI.h"
#include "mockdata/PCMData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/PDPData.h"
#include "edu_wpi_first_hal_sim_mockdata_PDPDataJNI.h"
#include "mockdata/PDPData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/PWMData.h"
#include "edu_wpi_first_hal_sim_mockdata_PWMDataJNI.h"
#include "mockdata/PWMData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/RelayData.h"
#include "edu_wpi_first_hal_sim_mockdata_RelayDataJNI.h"
#include "mockdata/RelayData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/RoboRioData.h"
#include "edu_wpi_first_hal_sim_mockdata_RoboRioDataJNI.h"
#include "mockdata/RoboRioData.h"
extern "C" {

View File

@@ -8,8 +8,8 @@
#include <jni.h>
#include "CallbackStore.h"
#include "MockData/SPIAccelerometerData.h"
#include "edu_wpi_first_hal_sim_mockdata_SPIAccelerometerDataJNI.h"
#include "mockdata/SPIAccelerometerData.h"
extern "C" {

View File

@@ -10,9 +10,9 @@
#include "BufferCallbackStore.h"
#include "CallbackStore.h"
#include "ConstBufferCallbackStore.h"
#include "MockData/SPIData.h"
#include "SpiReadAutoReceiveBufferCallbackStore.h"
#include "edu_wpi_first_hal_sim_mockdata_SPIDataJNI.h"
#include "mockdata/SPIData.h"
extern "C" {

View File

@@ -10,12 +10,12 @@
#include "BufferCallbackStore.h"
#include "CallbackStore.h"
#include "ConstBufferCallbackStore.h"
#include "HAL/HAL.h"
#include "HAL/cpp/Log.h"
#include "HAL/handles/HandlesInternal.h"
#include "MockData/MockHooks.h"
#include "SpiReadAutoReceiveBufferCallbackStore.h"
#include "edu_wpi_first_hal_sim_mockdata_SimulatorJNI.h"
#include "hal/HAL.h"
#include "hal/cpp/Log.h"
#include "hal/handles/HandlesInternal.h"
#include "mockdata/MockHooks.h"
using namespace wpi::java;

View File

@@ -9,9 +9,9 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "MockData/HAL_Value.h"
#include "hal/Types.h"
#include "jni.h"
#include "mockdata/HAL_Value.h"
typedef HAL_Handle SIM_JniHandle;

View File

@@ -11,11 +11,11 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
using namespace wpi::java;
using namespace sim;

View File

@@ -11,12 +11,12 @@
#include <wpi/jni_util.h>
#include "HAL/Types.h"
#include "HAL/handles/UnlimitedHandleResource.h"
#include "MockData/HAL_Value.h"
#include "MockData/NotifyListener.h"
#include "MockData/SPIData.h"
#include "SimulatorJNI.h"
#include "hal/Types.h"
#include "hal/handles/UnlimitedHandleResource.h"
#include "mockdata/HAL_Value.h"
#include "mockdata/NotifyListener.h"
#include "mockdata/SPIData.h"
namespace sim {
class SpiReadAutoReceiveBufferCallbackStore {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "AccelerometerDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/AccelerometerData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/AccelerometerData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class AccelerometerData {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "AnalogGyroDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/AnalogGyroData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/AnalogGyroData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class AnalogGyroData {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "AnalogInDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/AnalogInData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/AnalogInData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class AnalogInData {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "AnalogOutDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/AnalogOutData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/AnalogOutData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class AnalogOutData {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "AnalogTriggerDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/AnalogTriggerData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/AnalogTriggerData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class AnalogTriggerData {

View File

@@ -7,7 +7,7 @@
#include "CanDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -13,9 +13,9 @@
#include <wpi/mutex.h>
#include "MockData/CanData.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/CanData.h"
#include "mockdata/NotifyCallbackHelpers.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "DIODataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/DIOData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/DIOData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class DIOData {

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "DigitalPWMDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/DigitalPWMData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/DigitalPWMData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class DigitalPWMData {

View File

@@ -10,7 +10,7 @@
#include <string>
#include "DriverStationDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
namespace hal {
struct JoystickOutputStore {

View File

@@ -13,8 +13,8 @@
#include <wpi/mutex.h>
#include "MockData/DriverStationData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/DriverStationData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
struct JoystickOutputStore;

View File

@@ -7,7 +7,7 @@
#include "../PortsInternal.h"
#include "EncoderDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -13,8 +13,8 @@
#include <wpi/mutex.h>
#include "MockData/EncoderData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/EncoderData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class EncoderData {

View File

@@ -10,8 +10,8 @@
#include <memory>
#include <string>
#include "MockData/HALValue.h"
#include "MockData/wpi/StringRef.h"
#include "mockdata/HALValue.h"
#include "mockdata/wpi/StringRef.h"
namespace hal {

View File

@@ -9,7 +9,7 @@
#include "../PortsInternal.h"
#include "I2CDataInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -13,8 +13,8 @@
#include <wpi/mutex.h>
#include "MockData/I2CData.h"
#include "MockData/NotifyListenerVector.h"
#include "mockdata/I2CData.h"
#include "mockdata/NotifyListenerVector.h"
namespace hal {
class I2CData {

View File

@@ -5,7 +5,7 @@
/* the project. */
/*----------------------------------------------------------------------------*/
#include "MockData/NotifyCallbackHelpers.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -6,8 +6,8 @@
/*----------------------------------------------------------------------------*/
#include "../PortsInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "PCMDataInternal.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -13,8 +13,8 @@
#include <wpi/mutex.h>
#include "../PortsInternal.h"
#include "MockData/NotifyListenerVector.h"
#include "MockData/PCMData.h"
#include "mockdata/NotifyListenerVector.h"
#include "mockdata/PCMData.h"
namespace hal {
class PCMData {

View File

@@ -6,8 +6,8 @@
/*----------------------------------------------------------------------------*/
#include "../PortsInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "PDPDataInternal.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -13,8 +13,8 @@
#include <wpi/mutex.h>
#include "../PortsInternal.h"
#include "MockData/NotifyListenerVector.h"
#include "MockData/PDPData.h"
#include "mockdata/NotifyListenerVector.h"
#include "mockdata/PDPData.h"
namespace hal {
class PDPData {

View File

@@ -6,8 +6,8 @@
/*----------------------------------------------------------------------------*/
#include "../PortsInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "PWMDataInternal.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/NotifyListenerVector.h"
#include "MockData/PWMData.h"
#include "mockdata/NotifyListenerVector.h"
#include "mockdata/PWMData.h"
namespace hal {
class PWMData {

View File

@@ -6,8 +6,8 @@
/*----------------------------------------------------------------------------*/
#include "../PortsInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "RelayDataInternal.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/NotifyListenerVector.h"
#include "MockData/RelayData.h"
#include "mockdata/NotifyListenerVector.h"
#include "mockdata/RelayData.h"
namespace hal {
class RelayData {

View File

@@ -6,8 +6,8 @@
/*----------------------------------------------------------------------------*/
#include "../PortsInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "RoboRioDataInternal.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/NotifyListenerVector.h"
#include "MockData/RoboRioData.h"
#include "mockdata/NotifyListenerVector.h"
#include "mockdata/RoboRioData.h"
namespace hal {
class RoboRioData {

View File

@@ -6,8 +6,8 @@
/*----------------------------------------------------------------------------*/
#include "../PortsInternal.h"
#include "MockData/NotifyCallbackHelpers.h"
#include "SPIAccelerometerDataInternal.h"
#include "mockdata/NotifyCallbackHelpers.h"
using namespace hal;

View File

@@ -12,8 +12,8 @@
#include <wpi/mutex.h>
#include "MockData/NotifyListenerVector.h"
#include "MockData/SPIAccelerometerData.h"
#include "mockdata/NotifyListenerVector.h"
#include "mockdata/SPIAccelerometerData.h"
namespace hal {
class SPIAccelerometerData {

Some files were not shown because too many files have changed in this diff Show More