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

System state of the device. More...

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

Inheritance diagram for ctre::phoenixpro::signals::System_StateValue:
ctre::phoenixpro::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 Fault = 11
 
static constexpr int Recover = 12
 
static constexpr int NotLicensed = 13
 

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::phoenixpro::signals::System_StateValue::System_StateValue ( int  value)
inline

◆ System_StateValue() [2/2]

ctre::phoenixpro::signals::System_StateValue::System_StateValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Serialize()

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

◆ ToString()

std::string ctre::phoenixpro::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::phoenixpro::signals::System_StateValue::BootBeep = 8
staticconstexpr

◆ Bootup_0

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

◆ Bootup_1

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

◆ Bootup_2

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

◆ Bootup_3

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

◆ Bootup_4

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

◆ Bootup_5

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

◆ Bootup_6

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

◆ Bootup_7

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

◆ ControlDisabled

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

◆ ControlEnabled

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

◆ Fault

constexpr int ctre::phoenixpro::signals::System_StateValue::Fault = 11
staticconstexpr

◆ NotLicensed

constexpr int ctre::phoenixpro::signals::System_StateValue::NotLicensed = 13
staticconstexpr

◆ Recover

constexpr int ctre::phoenixpro::signals::System_StateValue::Recover = 12
staticconstexpr

◆ value

int ctre::phoenixpro::signals::System_StateValue::value

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