RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
DoublePublisher.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// THIS FILE WAS AUTO-GENERATED BY ./ntcore/generate_topics.py. DO NOT MODIFY
6
7package org.wpilib.networktables;
8
9import java.util.function.DoubleConsumer;
10
12public interface DoublePublisher extends Publisher, DoubleConsumer {
18 @Override
20
26 default void set(double value) {
27 set(value, 0);
28 }
29
30
37 void set(double value, long time);
38
46 void setDefault(double value);
47
48 @Override
49 default void accept(double value) {
50 set(value);
51 }
52}