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

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

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

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

Public Member Functions

constexpr Animation7TypeValue (int value)
 
constexpr Animation7TypeValue ()
 
constexpr bool operator== (Animation7TypeValue other) const
 
constexpr auto operator<=> (Animation7TypeValue 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, Animation7TypeValue data)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Animation7TypeValue() [1/2]

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

◆ Animation7TypeValue() [2/2]

ctre::phoenix6::signals::Animation7TypeValue::Animation7TypeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator<=>()

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

◆ operator==()

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

◆ Serialize()

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

◆ ToString()

std::string_view ctre::phoenix6::signals::Animation7TypeValue::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,
Animation7TypeValue data )
friend

Member Data Documentation

◆ ColorFlow

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

Color flow animation.

◆ Empty

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

No animation.

◆ Fire

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

Fire animation.

◆ Larson

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

Larson animation.

◆ Rainbow

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

Rainbow animation.

◆ RgbFade

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

RGB Fade animation.

◆ SingleFade

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

Single fade animation.

◆ Strobe

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

Strobe animation.

◆ Twinkle

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

Twinkle animation.

◆ TwinkleOff

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

Twinkle off animation.

◆ value

int ctre::phoenix6::signals::Animation7TypeValue::value

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