RobotCore
1.0
WPILib port to raspberry Pi
Toggle main menu visibility
Loading...
Searching...
No Matches
TunableBackend.java
1
// Copyright (c) FIRST and other WPILib contributors.
2
// Open Source Software; you can modify and/or share it under the terms of
3
// the WPILib BSD license file in the root directory of this project.
4
5
package
org.wpilib.tunable;
6
7
import
java.util.List;
8
10
public
interface
TunableBackend
extends
AutoCloseable {
18
record
PublishedTunable
(String path,
TunableBase
tunable,
ComplexTunable
complex) {
19
boolean
isComplex() {
20
return
complex !=
null
;
21
}
22
}
23
34
boolean
publish
(String path,
TunableBase
tunable);
35
46
boolean
publishComplex
(String path,
ComplexTunable
tunable);
47
55
void
remove
(String path);
56
66
List<PublishedTunable>
removePrefix
(String prefix);
67
75
default
void
markDirty
(
TunableBase
tunable) {}
76
84
void
update
();
85
}
org.wpilib.tunable.TunableBase
Definition
TunableBase.java:9
org.wpilib.tunable.ComplexTunable
Definition
ComplexTunable.java:9
org.wpilib.tunable.TunableBackend
Definition
TunableBackend.java:10
org.wpilib.tunable.TunableBackend.publish
boolean publish(String path, TunableBase tunable)
org.wpilib.tunable.TunableBackend.PublishedTunable
record PublishedTunable(String path, TunableBase tunable, ComplexTunable complex)
Definition
TunableBackend.java:18
org.wpilib.tunable.TunableBackend.update
void update()
org.wpilib.tunable.TunableBackend.publishComplex
boolean publishComplex(String path, ComplexTunable tunable)
org.wpilib.tunable.TunableBackend.removePrefix
List< PublishedTunable > removePrefix(String prefix)
org.wpilib.tunable.TunableBackend.markDirty
default void markDirty(TunableBase tunable)
Definition
TunableBackend.java:75
org
wpilib
tunable
TunableBackend.java
Generated by
1.18.0