RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
BooleanSubscriber.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.BooleanSupplier;
10
12public interface BooleanSubscriber extends Subscriber, BooleanSupplier {
18 @Override
20
27 boolean get();
28
36 boolean get(boolean defaultValue);
37
38 @Override
39 default boolean getAsBoolean() {
40 return get();
41 }
42
51
60 TimestampedBoolean getAtomic(boolean defaultValue);
61
73
83 boolean[] readQueueValues();
84}
TimestampedBoolean getAtomic(boolean defaultValue)