Loading [MathJax]/extensions/tex2jax.js
CTRE Phoenix 6 C++ 25.4.0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
ctre::phoenix6::signals::ForwardLimitTypeValue Class Reference

Determines if the forward limit switch is normally-open (default) or normally-closed. More...

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

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

Public Member Functions

constexpr ForwardLimitTypeValue (int value)
 
constexpr ForwardLimitTypeValue ()
 
constexpr bool operator== (ForwardLimitTypeValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (ForwardLimitTypeValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (ForwardLimitTypeValue data) const
 
constexpr bool operator< (int data) const
 
std::string ToString () const
 Gets the string representation of this enum.
 
std::string Serialize () const
 
- Public Member Functions inherited from ctre::phoenix6::ISerializable

Public Attributes

int value
 

Static Public Attributes

static constexpr int NormallyOpen = 0
 
static constexpr int NormallyClosed = 1
 

Friends

std::ostream & operator<< (std::ostream &os, ForwardLimitTypeValue data)
 

Detailed Description

Determines if the forward limit switch is normally-open (default) or normally-closed.

Constructor & Destructor Documentation

◆ ForwardLimitTypeValue() [1/2]

ctre::phoenix6::signals::ForwardLimitTypeValue::ForwardLimitTypeValue ( int value)
inlineconstexpr

◆ ForwardLimitTypeValue() [2/2]

ctre::phoenix6::signals::ForwardLimitTypeValue::ForwardLimitTypeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator!=() [1/2]

bool ctre::phoenix6::signals::ForwardLimitTypeValue::operator!= ( ForwardLimitTypeValue data) const
inlineconstexpr

◆ operator!=() [2/2]

bool ctre::phoenix6::signals::ForwardLimitTypeValue::operator!= ( int data) const
inlineconstexpr

◆ operator<() [1/2]

bool ctre::phoenix6::signals::ForwardLimitTypeValue::operator< ( ForwardLimitTypeValue data) const
inlineconstexpr

◆ operator<() [2/2]

bool ctre::phoenix6::signals::ForwardLimitTypeValue::operator< ( int data) const
inlineconstexpr

◆ operator==() [1/2]

bool ctre::phoenix6::signals::ForwardLimitTypeValue::operator== ( ForwardLimitTypeValue data) const
inlineconstexpr

◆ operator==() [2/2]

bool ctre::phoenix6::signals::ForwardLimitTypeValue::operator== ( int data) const
inlineconstexpr

◆ Serialize()

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

◆ ToString()

std::string ctre::phoenix6::signals::ForwardLimitTypeValue::ToString ( ) const
inline

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Symbol Documentation

◆ operator<<

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

Member Data Documentation

◆ NormallyClosed

int ctre::phoenix6::signals::ForwardLimitTypeValue::NormallyClosed = 1
staticconstexpr

◆ NormallyOpen

int ctre::phoenix6::signals::ForwardLimitTypeValue::NormallyOpen = 0
staticconstexpr

◆ value

int ctre::phoenix6::signals::ForwardLimitTypeValue::value

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