CTRE Phoenix 6 C++ 25.4.0
Loading...
Searching...
No Matches
ctre::phoenix6::signals::Led2OnColorValue Class Reference

The Color of LED2 when it's "On". More...

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

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

Public Member Functions

constexpr Led2OnColorValue (int value)
 
constexpr Led2OnColorValue ()
 
constexpr bool operator== (Led2OnColorValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (Led2OnColorValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (Led2OnColorValue data) const
 
constexpr bool operator< (int data) const
 
std::string ToString () const
 Gets the string representation of this enum.
 
std::string Serialize () const
 
- Public Member Functions inherited from ctre::phoenix6::ISerializable

Public Attributes

int value
 

Static Public Attributes

static constexpr int Off = 0
 
static constexpr int Red = 1
 
static constexpr int Green = 2
 
static constexpr int Orange = 3
 
static constexpr int Blue = 4
 
static constexpr int Pink = 5
 
static constexpr int Cyan = 6
 
static constexpr int White = 7
 

Friends

std::ostream & operator<< (std::ostream &os, Led2OnColorValue data)
 

Detailed Description

The Color of LED2 when it's "On".

Constructor & Destructor Documentation

◆ Led2OnColorValue() [1/2]

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

◆ Led2OnColorValue() [2/2]

ctre::phoenix6::signals::Led2OnColorValue::Led2OnColorValue ( )
inlineconstexpr

Member Function Documentation

◆ operator!=() [1/2]

bool ctre::phoenix6::signals::Led2OnColorValue::operator!= ( int data) const
inlineconstexpr

◆ operator!=() [2/2]

bool ctre::phoenix6::signals::Led2OnColorValue::operator!= ( Led2OnColorValue data) const
inlineconstexpr

◆ operator<() [1/2]

bool ctre::phoenix6::signals::Led2OnColorValue::operator< ( int data) const
inlineconstexpr

◆ operator<() [2/2]

bool ctre::phoenix6::signals::Led2OnColorValue::operator< ( Led2OnColorValue data) const
inlineconstexpr

◆ operator==() [1/2]

bool ctre::phoenix6::signals::Led2OnColorValue::operator== ( int data) const
inlineconstexpr

◆ operator==() [2/2]

bool ctre::phoenix6::signals::Led2OnColorValue::operator== ( Led2OnColorValue data) const
inlineconstexpr

◆ Serialize()

std::string ctre::phoenix6::signals::Led2OnColorValue::Serialize ( ) const
inlinevirtual

◆ ToString()

std::string ctre::phoenix6::signals::Led2OnColorValue::ToString ( ) const
inline

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Symbol Documentation

◆ operator<<

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

Member Data Documentation

◆ Blue

int ctre::phoenix6::signals::Led2OnColorValue::Blue = 4
staticconstexpr

◆ Cyan

int ctre::phoenix6::signals::Led2OnColorValue::Cyan = 6
staticconstexpr

◆ Green

int ctre::phoenix6::signals::Led2OnColorValue::Green = 2
staticconstexpr

◆ Off

int ctre::phoenix6::signals::Led2OnColorValue::Off = 0
staticconstexpr

◆ Orange

int ctre::phoenix6::signals::Led2OnColorValue::Orange = 3
staticconstexpr

◆ Pink

int ctre::phoenix6::signals::Led2OnColorValue::Pink = 5
staticconstexpr

◆ Red

int ctre::phoenix6::signals::Led2OnColorValue::Red = 1
staticconstexpr

◆ value

int ctre::phoenix6::signals::Led2OnColorValue::value

◆ White

int ctre::phoenix6::signals::Led2OnColorValue::White = 7
staticconstexpr

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