CTRE Phoenix Pro C++ 23.0.12
ctre::phoenixpro::signals::Led2OffColorValue Class Reference

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

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

Inheritance diagram for ctre::phoenixpro::signals::Led2OffColorValue:
ctre::phoenixpro::ISerializable

Public Member Functions

 Led2OffColorValue (int value)
 
 Led2OffColorValue ()
 
std::string ToString () const
 Gets the string representation of this enum. More...
 
std::string Serialize () const
 
bool operator== (const Led2OffColorValue &data) const
 
bool operator== (int data) const
 
bool operator< (const Led2OffColorValue &data) const
 
bool operator< (int data) const
 
virtual std::string Serialize () const =0
 

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, const Led2OffColorValue &data)
 

Detailed Description

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

Constructor & Destructor Documentation

◆ Led2OffColorValue() [1/2]

ctre::phoenixpro::signals::Led2OffColorValue::Led2OffColorValue ( int  value)
inline

◆ Led2OffColorValue() [2/2]

ctre::phoenixpro::signals::Led2OffColorValue::Led2OffColorValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

bool ctre::phoenixpro::signals::Led2OffColorValue::operator< ( const Led2OffColorValue data) const
inline

◆ operator<() [2/2]

bool ctre::phoenixpro::signals::Led2OffColorValue::operator< ( int  data) const
inline

◆ operator==() [1/2]

bool ctre::phoenixpro::signals::Led2OffColorValue::operator== ( const Led2OffColorValue data) const
inline

◆ operator==() [2/2]

bool ctre::phoenixpro::signals::Led2OffColorValue::operator== ( int  data) const
inline

◆ Serialize()

std::string ctre::phoenixpro::signals::Led2OffColorValue::Serialize ( ) const
inlinevirtual

◆ ToString()

std::string ctre::phoenixpro::signals::Led2OffColorValue::ToString ( ) const
inline

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Function Documentation

◆ operator<<

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

Member Data Documentation

◆ Blue

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Blue = 4
staticconstexpr

◆ Cyan

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Cyan = 6
staticconstexpr

◆ Green

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Green = 2
staticconstexpr

◆ Off

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Off = 0
staticconstexpr

◆ Orange

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Orange = 3
staticconstexpr

◆ Pink

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Pink = 5
staticconstexpr

◆ Red

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::Red = 1
staticconstexpr

◆ value

int ctre::phoenixpro::signals::Led2OffColorValue::value

◆ White

constexpr int ctre::phoenixpro::signals::Led2OffColorValue::White = 7
staticconstexpr

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