CTRE Phoenix Pro C++ 23.0.12
ctre::phoenixpro::signals::BridgeOuputValue Class Reference

The applied output of the bridge. More...

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

Inheritance diagram for ctre::phoenixpro::signals::BridgeOuputValue:
ctre::phoenixpro::ISerializable

Public Member Functions

 BridgeOuputValue (int value)
 
 BridgeOuputValue ()
 
std::string ToString () const
 Gets the string representation of this enum. More...
 
std::string Serialize () const
 
bool operator== (const BridgeOuputValue &data) const
 
bool operator== (int data) const
 
bool operator< (const BridgeOuputValue &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
 

Friends

std::ostream & operator<< (std::ostream &os, const BridgeOuputValue &data)
 

Detailed Description

The applied output of the bridge.

Constructor & Destructor Documentation

◆ BridgeOuputValue() [1/2]

ctre::phoenixpro::signals::BridgeOuputValue::BridgeOuputValue ( int  value)
inline

◆ BridgeOuputValue() [2/2]

ctre::phoenixpro::signals::BridgeOuputValue::BridgeOuputValue ( )
inline

Member Function Documentation

◆ operator<() [1/2]

bool ctre::phoenixpro::signals::BridgeOuputValue::operator< ( const BridgeOuputValue data) const
inline

◆ operator<() [2/2]

bool ctre::phoenixpro::signals::BridgeOuputValue::operator< ( int  data) const
inline

◆ operator==() [1/2]

bool ctre::phoenixpro::signals::BridgeOuputValue::operator== ( const BridgeOuputValue data) const
inline

◆ operator==() [2/2]

bool ctre::phoenixpro::signals::BridgeOuputValue::operator== ( int  data) const
inline

◆ Serialize()

std::string ctre::phoenixpro::signals::BridgeOuputValue::Serialize ( ) const
inlinevirtual

◆ ToString()

std::string ctre::phoenixpro::signals::BridgeOuputValue::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 BridgeOuputValue data 
)
friend

Member Data Documentation

◆ BridgeReq_Brake

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_Brake = 1
staticconstexpr

◆ BridgeReq_Coast

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_Coast = 0
staticconstexpr

◆ BridgeReq_FaultBrake

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_FaultBrake = 12
staticconstexpr

◆ BridgeReq_FaultCoast

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_FaultCoast = 13
staticconstexpr

◆ BridgeReq_FOCEasy

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_FOCEasy = 9
staticconstexpr

◆ BridgeReq_FOCTorque

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_FOCTorque = 7
staticconstexpr

◆ BridgeReq_MusicTone

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_MusicTone = 8
staticconstexpr

◆ BridgeReq_Trapez

constexpr int ctre::phoenixpro::signals::BridgeOuputValue::BridgeReq_Trapez = 6
staticconstexpr

◆ value

int ctre::phoenixpro::signals::BridgeOuputValue::value

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