mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-02 02:51:42 +00:00
Update formatting to clang-format 16 (#5370)
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user