CTRE Phoenix 6 C++ 26.3.0
Loading...
Searching...
No Matches
ctre::phoenix6::signals::PIDRefSlopeECUTime_ClosedLoopModeValue Struct Reference

Whether the closed-loop is running on position or velocity. More...

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

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

Public Member Functions

constexpr PIDRefSlopeECUTime_ClosedLoopModeValue (int value)
 
constexpr PIDRefSlopeECUTime_ClosedLoopModeValue ()
 
constexpr bool operator== (PIDRefSlopeECUTime_ClosedLoopModeValue other) const
 
constexpr auto operator<=> (PIDRefSlopeECUTime_ClosedLoopModeValue 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 Position = 0
 
static constexpr int Velocity = 1
 

Friends

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

Detailed Description

Whether the closed-loop is running on position or velocity.

Constructor & Destructor Documentation

◆ PIDRefSlopeECUTime_ClosedLoopModeValue() [1/2]

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

◆ PIDRefSlopeECUTime_ClosedLoopModeValue() [2/2]

ctre::phoenix6::signals::PIDRefSlopeECUTime_ClosedLoopModeValue::PIDRefSlopeECUTime_ClosedLoopModeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator<=>()

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

◆ operator==()

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

◆ Serialize()

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

◆ ToString()

std::string_view ctre::phoenix6::signals::PIDRefSlopeECUTime_ClosedLoopModeValue::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,
PIDRefSlopeECUTime_ClosedLoopModeValue data )
friend

Member Data Documentation

◆ Position

int ctre::phoenix6::signals::PIDRefSlopeECUTime_ClosedLoopModeValue::Position = 0
staticconstexpr

◆ value

int ctre::phoenix6::signals::PIDRefSlopeECUTime_ClosedLoopModeValue::value

◆ Velocity

int ctre::phoenix6::signals::PIDRefSlopeECUTime_ClosedLoopModeValue::Velocity = 1
staticconstexpr

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