CTRE Phoenix Pro C++ 23.0.12
ctre::phoenixpro::hardware::DeviceIdentifier Class Reference

#include <ctre/phoenixpro/hardware/DeviceIdentifier.hpp>

Public Member Functions

 DeviceIdentifier ()=default
 
 DeviceIdentifier (int deviceID, std::string model, std::string canbus)
 
std::string ToString () const
 

Public Attributes

std::string network
 
std::string model
 
int deviceID
 
uint32_t deviceHash
 

Constructor & Destructor Documentation

◆ DeviceIdentifier() [1/2]

ctre::phoenixpro::hardware::DeviceIdentifier::DeviceIdentifier ( )
default

◆ DeviceIdentifier() [2/2]

ctre::phoenixpro::hardware::DeviceIdentifier::DeviceIdentifier ( int  deviceID,
std::string  model,
std::string  canbus 
)
inline

Member Function Documentation

◆ ToString()

std::string ctre::phoenixpro::hardware::DeviceIdentifier::ToString ( ) const
inline

Member Data Documentation

◆ deviceHash

uint32_t ctre::phoenixpro::hardware::DeviceIdentifier::deviceHash

◆ deviceID

int ctre::phoenixpro::hardware::DeviceIdentifier::deviceID

◆ model

std::string ctre::phoenixpro::hardware::DeviceIdentifier::model

◆ network

std::string ctre::phoenixpro::hardware::DeviceIdentifier::network

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