CTRE Phoenix 6 C++ 24.3.0
ctre::phoenix6::signals::System_StateValue Class Reference

System state of the device. More...

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

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

Public Member Functions

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

Public Attributes

int value
 

Static Public Attributes

static constexpr int Bootup_0 = 0
 
static constexpr int Bootup_1 = 1
 
static constexpr int Bootup_2 = 2
 
static constexpr int Bootup_3 = 3
 
static constexpr int Bootup_4 = 4
 
static constexpr int Bootup_5 = 5
 
static constexpr int Bootup_6 = 6
 
static constexpr int Bootup_7 = 7
 
static constexpr int BootBeep = 8
 
static constexpr int ControlDisabled = 9
 
static constexpr int ControlEnabled = 10
 
static constexpr int ControlEnabled_11 = 11
 
static constexpr int Fault = 12
 
static constexpr int Recover = 13
 
static constexpr int NotLicensed = 14
 
static constexpr int Production = 15
 

Friends

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

Detailed Description

System state of the device.

Constructor & Destructor Documentation

◆ System_StateValue() [1/2]

ctre::phoenix6::signals::System_StateValue::System_StateValue ( int  value)
inline

◆ System_StateValue() [2/2]

ctre::phoenix6::signals::System_StateValue::System_StateValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

bool ctre::phoenix6::signals::System_StateValue::operator< ( const System_StateValue data) const
inline

◆ operator<() [2/2]

bool ctre::phoenix6::signals::System_StateValue::operator< ( int  data) const
inline

◆ operator==() [1/2]

bool ctre::phoenix6::signals::System_StateValue::operator== ( const System_StateValue data) const
inline

◆ operator==() [2/2]

bool ctre::phoenix6::signals::System_StateValue::operator== ( int  data) const
inline

◆ Serialize()

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

◆ ToString()

std::string ctre::phoenix6::signals::System_StateValue::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 System_StateValue data 
)
friend

Member Data Documentation

◆ BootBeep

constexpr int ctre::phoenix6::signals::System_StateValue::BootBeep = 8
staticconstexpr

◆ Bootup_0

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_0 = 0
staticconstexpr

◆ Bootup_1

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_1 = 1
staticconstexpr

◆ Bootup_2

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_2 = 2
staticconstexpr

◆ Bootup_3

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_3 = 3
staticconstexpr

◆ Bootup_4

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_4 = 4
staticconstexpr

◆ Bootup_5

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_5 = 5
staticconstexpr

◆ Bootup_6

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_6 = 6
staticconstexpr

◆ Bootup_7

constexpr int ctre::phoenix6::signals::System_StateValue::Bootup_7 = 7
staticconstexpr

◆ ControlDisabled

constexpr int ctre::phoenix6::signals::System_StateValue::ControlDisabled = 9
staticconstexpr

◆ ControlEnabled

constexpr int ctre::phoenix6::signals::System_StateValue::ControlEnabled = 10
staticconstexpr

◆ ControlEnabled_11

constexpr int ctre::phoenix6::signals::System_StateValue::ControlEnabled_11 = 11
staticconstexpr

◆ Fault

constexpr int ctre::phoenix6::signals::System_StateValue::Fault = 12
staticconstexpr

◆ NotLicensed

constexpr int ctre::phoenix6::signals::System_StateValue::NotLicensed = 14
staticconstexpr

◆ Production

constexpr int ctre::phoenix6::signals::System_StateValue::Production = 15
staticconstexpr

◆ Recover

constexpr int ctre::phoenix6::signals::System_StateValue::Recover = 13
staticconstexpr

◆ value

int ctre::phoenix6::signals::System_StateValue::value

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