CTRE Phoenix 6 C++ 25.2.1
Loading...
Searching...
No Matches
ctre::phoenix6::signals::DiffPIDRefSlopeECUTime_ClosedLoopModeValue Class Reference

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

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

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

Public Member Functions

constexpr DiffPIDRefSlopeECUTime_ClosedLoopModeValue (int value)
 
constexpr DiffPIDRefSlopeECUTime_ClosedLoopModeValue ()
 
constexpr bool operator== (DiffPIDRefSlopeECUTime_ClosedLoopModeValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (DiffPIDRefSlopeECUTime_ClosedLoopModeValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (DiffPIDRefSlopeECUTime_ClosedLoopModeValue 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 Position = 0
 
static constexpr int Velocity = 1
 

Friends

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

Detailed Description

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

Constructor & Destructor Documentation

◆ DiffPIDRefSlopeECUTime_ClosedLoopModeValue() [1/2]

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

◆ DiffPIDRefSlopeECUTime_ClosedLoopModeValue() [2/2]

ctre::phoenix6::signals::DiffPIDRefSlopeECUTime_ClosedLoopModeValue::DiffPIDRefSlopeECUTime_ClosedLoopModeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ Position

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

◆ value

int ctre::phoenix6::signals::DiffPIDRefSlopeECUTime_ClosedLoopModeValue::value

◆ Velocity

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

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