|
CTRE Phoenix 6 C++ 26.0.0-beta-1
|
Whether the device is enabled. More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Public Member Functions | |
| constexpr | DeviceEnableValue (int value) |
| constexpr | DeviceEnableValue () |
| constexpr bool | operator== (DeviceEnableValue other) const |
| constexpr auto | operator<=> (DeviceEnableValue other) const |
| constexpr std::string_view | ToString () const |
| Gets the string representation of this enum. | |
| std::string | Serialize () const override |
Public Member Functions inherited from ctre::phoenix6::ISerializable | |
Public Attributes | |
| int | value |
Static Public Attributes | |
| static constexpr int | Enabled = 1 |
| static constexpr int | Disabled = 0 |
Friends | |
| CTREXPORT friend std::ostream & | operator<< (std::ostream &os, DeviceEnableValue data) |
Whether the device is enabled.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineconstexpr |
Gets the string representation of this enum.
|
friend |
|
staticconstexpr |
|
staticconstexpr |
| int ctre::phoenix6::signals::DeviceEnableValue::value |