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

The type of LEDs that are being controlled. More...

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

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

Public Member Functions

constexpr StripTypeValue (int value)
 
constexpr StripTypeValue ()
 
constexpr bool operator== (StripTypeValue other) const
 
constexpr auto operator<=> (StripTypeValue 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 GRB = 0
 LEDs that are controlled by Green-Red-Blue values.
 
static constexpr int RGB = 1
 LEDs that are controlled by Red-Green-Blue values.
 
static constexpr int BRG = 2
 LEDs that are controlled by Blue-Red-Green values.
 
static constexpr int GRBW = 6
 LEDs that are controlled by Green-Red-Blue-White values.
 
static constexpr int RGBW = 7
 LEDs that are controlled by Red-Green-Blue-White values.
 
static constexpr int BRGW = 8
 LEDs that are controlled by Blue-Red-Green-White values.
 

Friends

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

Detailed Description

The type of LEDs that are being controlled.

Constructor & Destructor Documentation

◆ StripTypeValue() [1/2]

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

◆ StripTypeValue() [2/2]

ctre::phoenix6::signals::StripTypeValue::StripTypeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator<=>()

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

◆ operator==()

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ BRG

int ctre::phoenix6::signals::StripTypeValue::BRG = 2
staticconstexpr

LEDs that are controlled by Blue-Red-Green values.

◆ BRGW

int ctre::phoenix6::signals::StripTypeValue::BRGW = 8
staticconstexpr

LEDs that are controlled by Blue-Red-Green-White values.

◆ GRB

int ctre::phoenix6::signals::StripTypeValue::GRB = 0
staticconstexpr

LEDs that are controlled by Green-Red-Blue values.

◆ GRBW

int ctre::phoenix6::signals::StripTypeValue::GRBW = 6
staticconstexpr

LEDs that are controlled by Green-Red-Blue-White values.

◆ RGB

int ctre::phoenix6::signals::StripTypeValue::RGB = 1
staticconstexpr

LEDs that are controlled by Red-Green-Blue values.

◆ RGBW

int ctre::phoenix6::signals::StripTypeValue::RGBW = 7
staticconstexpr

LEDs that are controlled by Red-Green-Blue-White values.

◆ value

int ctre::phoenix6::signals::StripTypeValue::value

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