Invert state of the device as seen from the front of the motor.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
Invert state of the device as seen from the front of the motor.
◆ InvertedValue() [1/2]
constexpr ctre::phoenix6::signals::InvertedValue::InvertedValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ InvertedValue() [2/2]
constexpr ctre::phoenix6::signals::InvertedValue::InvertedValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
constexpr bool ctre::phoenix6::signals::InvertedValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator!=() [2/2]
constexpr bool ctre::phoenix6::signals::InvertedValue::operator!= |
( |
InvertedValue | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
constexpr bool ctre::phoenix6::signals::InvertedValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [2/2]
constexpr bool ctre::phoenix6::signals::InvertedValue::operator< |
( |
InvertedValue | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
constexpr bool ctre::phoenix6::signals::InvertedValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [2/2]
constexpr bool ctre::phoenix6::signals::InvertedValue::operator== |
( |
InvertedValue | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::InvertedValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::InvertedValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
std::ostream & operator<< |
( |
std::ostream & | os, |
|
|
InvertedValue | data ) |
|
friend |
◆ Clockwise_Positive
constexpr int ctre::phoenix6::signals::InvertedValue::Clockwise_Positive = 1 |
|
staticconstexpr |
Positive motor output results in counter-clockwise motion.
◆ CounterClockwise_Positive
constexpr int ctre::phoenix6::signals::InvertedValue::CounterClockwise_Positive = 0 |
|
staticconstexpr |
Positive motor output results in clockwise motion.
◆ value
int ctre::phoenix6::signals::InvertedValue::value |
The documentation for this class was generated from the following file: