RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
BooleanPublisher.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 org.wpilib.util.function.BooleanConsumer;
10
12public interface BooleanPublisher extends Publisher, BooleanConsumer {
18 @Override
20
26 default void set(boolean value) {
27 set(value, 0);
28 }
29
30
37 void set(boolean value, long time);
38
46 void setDefault(boolean value);
47
48 @Override
49 default void accept(boolean value) {
50 set(value);
51 }
52}