CTRE Phoenix 6 C++ 25.0.0-beta-4
|
Custom Params. More...
#include <ctre/phoenix6/configs/Configs.hpp>
Public Member Functions | |
constexpr | CustomParamsConfigs ()=default |
constexpr CustomParamsConfigs & | WithCustomParam0 (int newCustomParam0) |
Modifies this configuration's CustomParam0 parameter and returns itself for method-chaining and easier to use config API. | |
constexpr CustomParamsConfigs & | WithCustomParam1 (int newCustomParam1) |
Modifies this configuration's CustomParam1 parameter and returns itself for method-chaining and easier to use config API. | |
std::string | ToString () const override |
std::string | Serialize () const override |
ctre::phoenix::StatusCode | Deserialize (const std::string &to_deserialize) override |
Public Attributes | |
int | CustomParam0 = 0 |
Custom parameter 0. | |
int | CustomParam1 = 0 |
Custom parameter 1. | |
Custom Params.
Custom paramaters that have no real impact on controller.
|
constexprdefault |
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineconstexpr |
Modifies this configuration's CustomParam0 parameter and returns itself for method-chaining and easier to use config API.
Custom parameter 0. This is provided to allow end-applications to store persistent information in the device.
newCustomParam0 | Parameter to modify |
|
inlineconstexpr |
Modifies this configuration's CustomParam1 parameter and returns itself for method-chaining and easier to use config API.
Custom parameter 1. This is provided to allow end-applications to store persistent information in the device.
newCustomParam1 | Parameter to modify |
int ctre::phoenix6::configs::CustomParamsConfigs::CustomParam0 = 0 |
Custom parameter 0.
This is provided to allow end-applications to store persistent information in the device.
int ctre::phoenix6::configs::CustomParamsConfigs::CustomParam1 = 0 |
Custom parameter 1.
This is provided to allow end-applications to store persistent information in the device.