Direction of the animation.
More...
#include <ctre/phoenix6/signals/SpnEnums.hpp>
|
static constexpr int | Forward = 0 |
| The animation starts at the specified LED start index and moves towards the LED end index.
|
|
static constexpr int | Backward = 1 |
| The animation starts at the specified LED end index and moves towards the LED start index.
|
|
Direction of the animation.
◆ AnimationDirectionValue() [1/2]
ctre::phoenix6::signals::AnimationDirectionValue::AnimationDirectionValue |
( |
int | value | ) |
|
|
inlineconstexpr |
◆ AnimationDirectionValue() [2/2]
ctre::phoenix6::signals::AnimationDirectionValue::AnimationDirectionValue |
( |
| ) |
|
|
inlineconstexpr |
◆ operator!=() [1/2]
◆ operator!=() [2/2]
bool ctre::phoenix6::signals::AnimationDirectionValue::operator!= |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator<() [1/2]
◆ operator<() [2/2]
bool ctre::phoenix6::signals::AnimationDirectionValue::operator< |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ operator==() [1/2]
◆ operator==() [2/2]
bool ctre::phoenix6::signals::AnimationDirectionValue::operator== |
( |
int | data | ) |
const |
|
inlineconstexpr |
◆ Serialize()
std::string ctre::phoenix6::signals::AnimationDirectionValue::Serialize |
( |
| ) |
const |
|
inlinevirtual |
◆ ToString()
std::string ctre::phoenix6::signals::AnimationDirectionValue::ToString |
( |
| ) |
const |
|
inline |
Gets the string representation of this enum.
- Returns
- String representation of this enum
◆ operator<<
◆ Backward
int ctre::phoenix6::signals::AnimationDirectionValue::Backward = 1 |
|
staticconstexpr |
The animation starts at the specified LED end index and moves towards the LED start index.
◆ Forward
int ctre::phoenix6::signals::AnimationDirectionValue::Forward = 0 |
|
staticconstexpr |
The animation starts at the specified LED start index and moves towards the LED end index.
◆ value
int ctre::phoenix6::signals::AnimationDirectionValue::value |
The documentation for this class was generated from the following file: