CTRE Phoenix 6 C++ 25.0.0-beta-4
Loading...
Searching...
No Matches
ctre::phoenix6::signals::NeutralModeValue Class Reference

The state of the motor controller bridge when output is neutral or disabled. More...

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

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

Public Member Functions

constexpr NeutralModeValue (int value)
 
constexpr NeutralModeValue ()
 
constexpr bool operator== (NeutralModeValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (NeutralModeValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (NeutralModeValue data) const
 
constexpr bool operator< (int data) const
 
std::string ToString () const
 Gets the string representation of this enum.
 
std::string Serialize () const
 

Public Attributes

int value
 

Static Public Attributes

static constexpr int Coast = 0
 
static constexpr int Brake = 1
 

Friends

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

Detailed Description

The state of the motor controller bridge when output is neutral or disabled.

Constructor & Destructor Documentation

◆ NeutralModeValue() [1/2]

constexpr ctre::phoenix6::signals::NeutralModeValue::NeutralModeValue ( int value)
inlineconstexpr

◆ NeutralModeValue() [2/2]

constexpr ctre::phoenix6::signals::NeutralModeValue::NeutralModeValue ( )
inlineconstexpr

Member Function Documentation

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ Brake

constexpr int ctre::phoenix6::signals::NeutralModeValue::Brake = 1
staticconstexpr

◆ Coast

constexpr int ctre::phoenix6::signals::NeutralModeValue::Coast = 0
staticconstexpr

◆ value

int ctre::phoenix6::signals::NeutralModeValue::value

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