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

Whether the device is pro licensed or not. More...

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

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

Public Member Functions

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

Public Attributes

int value
 

Static Public Attributes

static constexpr int NotLicensed = 0
 
static constexpr int Licensed = 1
 

Friends

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

Detailed Description

Whether the device is pro licensed or not.

Constructor & Destructor Documentation

◆ IsPROLicensedValue() [1/2]

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

◆ IsPROLicensedValue() [2/2]

ctre::phoenixpro::signals::IsPROLicensedValue::IsPROLicensedValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ Licensed

constexpr int ctre::phoenixpro::signals::IsPROLicensedValue::Licensed = 1
staticconstexpr

◆ NotLicensed

constexpr int ctre::phoenixpro::signals::IsPROLicensedValue::NotLicensed = 0
staticconstexpr

◆ value

int ctre::phoenixpro::signals::IsPROLicensedValue::value

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