|
CTRE Phoenix 6 C++ 24.3.0
|
Custom Params. More...
#include <ctre/phoenix6/configs/Configs.hpp>
Public Member Functions | |
| CustomParamsConfigs & | WithCustomParam0 (int newCustomParam0) |
| Modifies this configuration's CustomParam0 parameter and returns itself for method-chaining and easier to use config API. More... | |
| CustomParamsConfigs & | WithCustomParam1 (int newCustomParam1) |
| Modifies this configuration's CustomParam1 parameter and returns itself for method-chaining and easier to use config API. More... | |
| std::string | ToString () const override |
| std::string | Serialize () const override |
| ctre::phoenix::StatusCode | Deserialize (const std::string &to_deserialize) override |
| virtual std::string | ToString () const =0 |
| virtual ctre::phoenix::StatusCode | Deserialize (const std::string &string)=0 |
| virtual std::string | Serialize () const =0 |
Public Attributes | |
| int | CustomParam0 = 0 |
| Custom parameter 0. More... | |
| int | CustomParam1 = 0 |
| Custom parameter 1. More... | |
Custom Params.
Custom paramaters that have no real impact on controller.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inlineoverridevirtual |
Implements ctre::phoenix6::ISerializable.
|
inlineoverridevirtual |
Implements ctre::phoenix6::configs::ParentConfiguration.
|
inline |
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 |
|
inline |
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.