CTRE Phoenix 6 C++ 24.3.0
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

 BridgeOutputValue (int value)
 
 BridgeOutputValue ()
 
std::string ToString () const
 Gets the string representation of this enum. More...
 
std::string Serialize () const
 
bool operator== (const BridgeOutputValue &data) const
 
bool operator== (int data) const
 
bool operator< (const BridgeOutputValue &data) const
 
bool operator< (int data) const
 
virtual std::string Serialize () const =0
 

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, const BridgeOutputValue &data)
 

Detailed Description

The applied output of the bridge.

Constructor & Destructor Documentation

◆ BridgeOutputValue() [1/2]

ctre::phoenix6::signals::BridgeOutputValue::BridgeOutputValue ( int  value)
inline

◆ BridgeOutputValue() [2/2]

ctre::phoenix6::signals::BridgeOutputValue::BridgeOutputValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

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

◆ operator<() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

◆ 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 Function Documentation

◆ operator<<

std::ostream & operator<< ( std::ostream &  os,
const 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: