Remove RoboRIO ifdef from simulation headers (#1859)

This commit is contained in:
Thad House
2019-09-03 19:55:17 -07:00
committed by Peter Johnson
parent 9b6ffc201c
commit 516cbef2c4
38 changed files with 38 additions and 171 deletions

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -99,4 +97,3 @@ class AccelerometerSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -71,4 +69,3 @@ class AnalogGyroSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -177,4 +175,3 @@ class AnalogInSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -60,4 +58,3 @@ class AnalogOutSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -81,4 +79,3 @@ class AnalogTriggerSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <functional>
#include <wpi/StringRef.h>
@@ -89,5 +87,3 @@ class CallbackStore {
};
} // namespace sim
} // namespace frc
#endif

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -99,4 +97,3 @@ class DIOSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -73,4 +71,3 @@ class DigitalPWMSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -109,4 +107,3 @@ class DriverStationSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -163,4 +161,3 @@ class EncoderSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -147,4 +145,3 @@ class PCMSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -88,4 +86,3 @@ class PDPSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -114,4 +112,3 @@ class PWMSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -88,4 +86,3 @@ class RelaySim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -273,4 +271,3 @@ class RoboRioSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include <memory>
#include <utility>
@@ -95,4 +93,3 @@ class SPIAccelerometerSim {
};
} // namespace sim
} // namespace frc
#endif // __FRC_ROBORIO__

View File

@@ -1,5 +1,5 @@
/*----------------------------------------------------------------------------*/
/* Copyright (c) 2018 FIRST. All Rights Reserved. */
/* Copyright (c) 2018-2019 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. */
@@ -7,8 +7,6 @@
#pragma once
#ifndef __FRC_ROBORIO__
#include "mockdata/MockHooks.h"
namespace frc {
@@ -24,5 +22,3 @@ void RestartTiming() { HALSIM_RestartTiming(); }
} // namespace sim
} // namespace frc
#endif