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

True if device is locked by FRC. More...

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

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

Public Member Functions

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

Public Attributes

int value
 

Static Public Attributes

static constexpr int Frc_Locked = 1
 
static constexpr int Frc_Unlocked = 0
 

Friends

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

Detailed Description

True if device is locked by FRC.

Constructor & Destructor Documentation

◆ FrcLockValue() [1/2]

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

◆ FrcLockValue() [2/2]

ctre::phoenixpro::signals::FrcLockValue::FrcLockValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ Frc_Locked

constexpr int ctre::phoenixpro::signals::FrcLockValue::Frc_Locked = 1
staticconstexpr

◆ Frc_Unlocked

constexpr int ctre::phoenixpro::signals::FrcLockValue::Frc_Unlocked = 0
staticconstexpr

◆ value

int ctre::phoenixpro::signals::FrcLockValue::value

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