CTRE Phoenix 6 C++ 26.0.0-beta-1
Loading...
Searching...
No Matches
ctre::phoenix6::signals::ForwardLimitValue Struct Reference

Forward Limit Pin. More...

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

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

Public Member Functions

constexpr ForwardLimitValue (int value)
 
constexpr ForwardLimitValue ()
 
constexpr bool operator== (ForwardLimitValue other) const
 
constexpr auto operator<=> (ForwardLimitValue other) const
 
constexpr std::string_view ToString () const
 Gets the string representation of this enum.
 
std::string Serialize () const override
 
- Public Member Functions inherited from ctre::phoenix6::ISerializable

Public Attributes

int value
 

Static Public Attributes

static constexpr int ClosedToGround = 0
 
static constexpr int Open = 1
 

Friends

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

Detailed Description

Forward Limit Pin.

Constructor & Destructor Documentation

◆ ForwardLimitValue() [1/2]

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

◆ ForwardLimitValue() [2/2]

ctre::phoenix6::signals::ForwardLimitValue::ForwardLimitValue ( )
inlineconstexpr

Member Function Documentation

◆ operator<=>()

auto ctre::phoenix6::signals::ForwardLimitValue::operator<=> ( ForwardLimitValue other) const
inlineconstexpr

◆ operator==()

bool ctre::phoenix6::signals::ForwardLimitValue::operator== ( ForwardLimitValue other) const
inlineconstexpr

◆ Serialize()

std::string ctre::phoenix6::signals::ForwardLimitValue::Serialize ( ) const
inlineoverridevirtual

◆ ToString()

std::string_view ctre::phoenix6::signals::ForwardLimitValue::ToString ( ) const
inlineconstexpr

Gets the string representation of this enum.

Returns
String representation of this enum

Friends And Related Symbol Documentation

◆ operator<<

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

Member Data Documentation

◆ ClosedToGround

int ctre::phoenix6::signals::ForwardLimitValue::ClosedToGround = 0
staticconstexpr

◆ Open

int ctre::phoenix6::signals::ForwardLimitValue::Open = 1
staticconstexpr

◆ value

int ctre::phoenix6::signals::ForwardLimitValue::value

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