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

The applied output of the bridge. More...

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

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

Public Member Functions

constexpr BridgeOutputValue (int value)
 
constexpr BridgeOutputValue ()
 
constexpr bool operator== (BridgeOutputValue data) const
 
constexpr bool operator== (int data) const
 
constexpr bool operator!= (BridgeOutputValue data) const
 
constexpr bool operator!= (int data) const
 
constexpr bool operator< (BridgeOutputValue 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 BridgeReq_Coast = 0
 
static constexpr int BridgeReq_Brake = 1
 
static constexpr int BridgeReq_Trapez = 6
 
static constexpr int BridgeReq_FOCTorque = 7
 
static constexpr int BridgeReq_MusicTone = 8
 
static constexpr int BridgeReq_FOCEasy = 9
 
static constexpr int BridgeReq_FaultBrake = 12
 
static constexpr int BridgeReq_FaultCoast = 13
 
static constexpr int BridgeReq_ActiveBrake = 14
 

Friends

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

Detailed Description

The applied output of the bridge.

Constructor & Destructor Documentation

◆ BridgeOutputValue() [1/2]

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

◆ BridgeOutputValue() [2/2]

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

Member Function Documentation

◆ operator!=() [1/2]

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

◆ operator!=() [2/2]

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

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ Serialize()

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

◆ ToString()

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

Member Data Documentation

◆ BridgeReq_ActiveBrake

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_ActiveBrake = 14
staticconstexpr

◆ BridgeReq_Brake

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_Brake = 1
staticconstexpr

◆ BridgeReq_Coast

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_Coast = 0
staticconstexpr

◆ BridgeReq_FaultBrake

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_FaultBrake = 12
staticconstexpr

◆ BridgeReq_FaultCoast

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_FaultCoast = 13
staticconstexpr

◆ BridgeReq_FOCEasy

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_FOCEasy = 9
staticconstexpr

◆ BridgeReq_FOCTorque

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_FOCTorque = 7
staticconstexpr

◆ BridgeReq_MusicTone

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_MusicTone = 8
staticconstexpr

◆ BridgeReq_Trapez

constexpr int ctre::phoenix6::signals::BridgeOutputValue::BridgeReq_Trapez = 6
staticconstexpr

◆ value

int ctre::phoenix6::signals::BridgeOutputValue::value

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