Update formatting to clang-format 16 (#5370)

This commit is contained in:
Tyler Veness
2023-05-31 22:10:53 -07:00
committed by GitHub
parent a94a998002
commit 5fac18ff4a
48 changed files with 654 additions and 434 deletions

View File

@@ -42,8 +42,9 @@ class PneumaticsBaseSim {
* Save a reference to this object; it being deconstructed cancels the
* callback.
*/
[[nodiscard]] virtual std::unique_ptr<CallbackStore>
RegisterInitializedCallback(NotifyCallback callback, bool initialNotify) = 0;
[[nodiscard]]
virtual std::unique_ptr<CallbackStore> RegisterInitializedCallback(
NotifyCallback callback, bool initialNotify) = 0;
/**
* Check if the compressor is on.
@@ -68,8 +69,9 @@ class PneumaticsBaseSim {
* Save a reference to this object; it being deconstructed cancels the
* callback.
*/
[[nodiscard]] virtual std::unique_ptr<CallbackStore>
RegisterCompressorOnCallback(NotifyCallback callback, bool initialNotify) = 0;
[[nodiscard]]
virtual std::unique_ptr<CallbackStore> RegisterCompressorOnCallback(
NotifyCallback callback, bool initialNotify) = 0;
/**
* Check the solenoid output on a specific channel.
@@ -98,9 +100,9 @@ class PneumaticsBaseSim {
* Save a reference to this object; it being deconstructed cancels the
* callback.
*/
[[nodiscard]] virtual std::unique_ptr<CallbackStore>
RegisterSolenoidOutputCallback(int channel, NotifyCallback callback,
bool initialNotify) = 0;
[[nodiscard]]
virtual std::unique_ptr<CallbackStore> RegisterSolenoidOutputCallback(
int channel, NotifyCallback callback, bool initialNotify) = 0;
/**
* Check the value of the pressure switch.
@@ -126,9 +128,9 @@ class PneumaticsBaseSim {
* Save a reference to this object; it being deconstructed cancels the
* callback.
*/
[[nodiscard]] virtual std::unique_ptr<CallbackStore>
RegisterPressureSwitchCallback(NotifyCallback callback,
bool initialNotify) = 0;
[[nodiscard]]
virtual std::unique_ptr<CallbackStore> RegisterPressureSwitchCallback(
NotifyCallback callback, bool initialNotify) = 0;
/**
* Read the compressor current.
@@ -153,9 +155,9 @@ class PneumaticsBaseSim {
* Save a reference to this object; it being deconstructed cancels the
* callback.
*/
[[nodiscard]] virtual std::unique_ptr<CallbackStore>
RegisterCompressorCurrentCallback(NotifyCallback callback,
bool initialNotify) = 0;
[[nodiscard]]
virtual std::unique_ptr<CallbackStore> RegisterCompressorCurrentCallback(
NotifyCallback callback, bool initialNotify) = 0;
/**
* Get the current value of all solenoid outputs.