CTRE Phoenix 6 C++ 26.3.0
Loading...
Searching...
No Matches
ctre::phoenix6::signals::Animation3TypeValue Struct Reference

The type of animation running in slot 3 of the CANdle. More...

#include <ctre/phoenix6/signals/SpnEnums.hpp>

Inheritance diagram for ctre::phoenix6::signals::Animation3TypeValue:
ctre::phoenix6::ISerializable

Public Member Functions

constexpr Animation3TypeValue (int value)
 
constexpr Animation3TypeValue ()
 
constexpr bool operator== (Animation3TypeValue other) const
 
constexpr auto operator<=> (Animation3TypeValue 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 Empty = 0
 No animation.
 
static constexpr int ColorFlow = 1
 Color flow animation.
 
static constexpr int Fire = 2
 Fire animation.
 
static constexpr int Larson = 3
 Larson animation.
 
static constexpr int Rainbow = 4
 Rainbow animation.
 
static constexpr int RgbFade = 5
 RGB Fade animation.
 
static constexpr int SingleFade = 6
 Single fade animation.
 
static constexpr int Strobe = 7
 Strobe animation.
 
static constexpr int Twinkle = 8
 Twinkle animation.
 
static constexpr int TwinkleOff = 9
 Twinkle off animation.
 

Friends

CTREXPORT friend std::ostream & operator<< (std::ostream &os, Animation3TypeValue data)
 

Detailed Description

The type of animation running in slot 3 of the CANdle.

Constructor & Destructor Documentation

◆ Animation3TypeValue() [1/2]

ctre::phoenix6::signals::Animation3TypeValue::Animation3TypeValue ( int value)
inlineconstexpr

◆ Animation3TypeValue() [2/2]

ctre::phoenix6::signals::Animation3TypeValue::Animation3TypeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator<=>()

auto ctre::phoenix6::signals::Animation3TypeValue::operator<=> ( Animation3TypeValue other) const
inlineconstexpr

◆ operator==()

bool ctre::phoenix6::signals::Animation3TypeValue::operator== ( Animation3TypeValue other) const
inlineconstexpr

◆ Serialize()

std::string ctre::phoenix6::signals::Animation3TypeValue::Serialize ( ) const
inlineoverridevirtual

◆ ToString()

std::string_view ctre::phoenix6::signals::Animation3TypeValue::ToString ( ) const
inlineconstexpr

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Symbol Documentation

◆ operator<<

CTREXPORT friend std::ostream & operator<< ( std::ostream & os,
Animation3TypeValue data )
friend

Member Data Documentation

◆ ColorFlow

int ctre::phoenix6::signals::Animation3TypeValue::ColorFlow = 1
staticconstexpr

Color flow animation.

◆ Empty

int ctre::phoenix6::signals::Animation3TypeValue::Empty = 0
staticconstexpr

No animation.

◆ Fire

int ctre::phoenix6::signals::Animation3TypeValue::Fire = 2
staticconstexpr

Fire animation.

◆ Larson

int ctre::phoenix6::signals::Animation3TypeValue::Larson = 3
staticconstexpr

Larson animation.

◆ Rainbow

int ctre::phoenix6::signals::Animation3TypeValue::Rainbow = 4
staticconstexpr

Rainbow animation.

◆ RgbFade

int ctre::phoenix6::signals::Animation3TypeValue::RgbFade = 5
staticconstexpr

RGB Fade animation.

◆ SingleFade

int ctre::phoenix6::signals::Animation3TypeValue::SingleFade = 6
staticconstexpr

Single fade animation.

◆ Strobe

int ctre::phoenix6::signals::Animation3TypeValue::Strobe = 7
staticconstexpr

Strobe animation.

◆ Twinkle

int ctre::phoenix6::signals::Animation3TypeValue::Twinkle = 8
staticconstexpr

Twinkle animation.

◆ TwinkleOff

int ctre::phoenix6::signals::Animation3TypeValue::TwinkleOff = 9
staticconstexpr

Twinkle off animation.

◆ value

int ctre::phoenix6::signals::Animation3TypeValue::value

The documentation for this struct was generated from the following file: