RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
RawTopic.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
10public final class RawTopic extends Topic {
16 public RawTopic(Topic topic) {
17 super(topic.m_inst, topic.m_handle);
18 }
19
26 public RawTopic(NetworkTableInstance inst, int handle) {
27 super(inst, handle);
28 }
29
48 String typeString,
49
50 byte[] defaultValue,
51 PubSubOption... options) {
52 return new RawEntryImpl(
53 this,
54 NetworkTablesJNI.subscribe(
55 m_handle, NetworkTableType.RAW.getValue(),
56 typeString, options),
57 defaultValue);
58 }
59
78 String typeString,
79
80 PubSubOption... options) {
81 return new RawEntryImpl(
82 this,
83 NetworkTablesJNI.publish(
84 m_handle, NetworkTableType.RAW.getValue(),
85 typeString, options),
86 new byte[] {});
87 }
88
108 String typeString,
109 String properties,
110 PubSubOption... options) {
111 return new RawEntryImpl(
112 this,
113 NetworkTablesJNI.publishEx(
114 m_handle, NetworkTableType.RAW.getValue(),
115 typeString, properties, options),
116 new byte[] {});
117 }
118
142 String typeString,
143
144 byte[] defaultValue,
145 PubSubOption... options) {
146 return new RawEntryImpl(
147 this,
148 NetworkTablesJNI.getEntry(
149 m_handle, NetworkTableType.RAW.getValue(),
150 typeString, options),
151 defaultValue);
152 }
153
154}
RawSubscriber subscribe(String typeString, byte[] defaultValue, PubSubOption... options)
Definition RawTopic.java:47
RawTopic(NetworkTableInstance inst, int handle)
Definition RawTopic.java:26
RawEntry getEntry(String typeString, byte[] defaultValue, PubSubOption... options)
RawPublisher publishEx(String typeString, String properties, PubSubOption... options)
RawPublisher publish(String typeString, PubSubOption... options)
Definition RawTopic.java:77
final NetworkTableInstance m_inst
Definition Topic.java:333
Definition RawEntry.java:14