RobotCore
1.0
WPILib port to raspberry Pi
Toggle main menu visibility
Loading...
Searching...
No Matches
ProtobufPublisher.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.networktables;
6
7
import
java.util.function.Consumer;
8
14
public
interface
ProtobufPublisher
<T>
extends
Publisher
, Consumer<T> {
20
@Override
21
ProtobufTopic<T>
getTopic
();
22
28
default
void
set
(T value) {
29
set
(value, 0);
30
}
31
38
void
set
(T value,
long
time);
39
46
void
setDefault
(T value);
47
48
@Override
49
default
void
accept(T value) {
50
set
(value);
51
}
52
}
org.wpilib.networktables.ProtobufTopic
Definition
ProtobufTopic.java:15
org.wpilib.networktables.ProtobufPublisher
Definition
ProtobufPublisher.java:14
org.wpilib.networktables.ProtobufPublisher.getTopic
ProtobufTopic< T > getTopic()
org.wpilib.networktables.ProtobufPublisher.setDefault
void setDefault(T value)
org.wpilib.networktables.Publisher
Definition
Publisher.java:8
org
wpilib
networktables
ProtobufPublisher.java
Generated by
1.18.0