RobotCore 1.0
WPILib port to raspberry Pi
Loading...
Searching...
No Matches
StringArrayTopic.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 StringArrayTopic extends Topic {
12 public static final String TYPE_STRING = "string[]";
13
19 public StringArrayTopic(Topic topic) {
20 super(topic.m_inst, topic.m_handle);
21 }
22
29 public StringArrayTopic(NetworkTableInstance inst, int handle) {
30 super(inst, handle);
31 }
32
49 String[] defaultValue,
50 PubSubOption... options) {
51 return new StringArrayEntryImpl(
52 this,
53 NetworkTablesJNI.subscribe(
55 "string[]", options),
56 defaultValue);
57 }
58
76 String typeString,
77 String[] defaultValue,
78 PubSubOption... options) {
79 return new StringArrayEntryImpl(
80 this,
81 NetworkTablesJNI.subscribe(
83 typeString, options),
84 defaultValue);
85 }
86
103 PubSubOption... options) {
104 return new StringArrayEntryImpl(
105 this,
106 NetworkTablesJNI.publish(
108 "string[]", options),
109 new String[] {});
110 }
111
131 String typeString,
132 String properties,
133 PubSubOption... options) {
134 return new StringArrayEntryImpl(
135 this,
136 NetworkTablesJNI.publishEx(
138 typeString, properties, options),
139 new String[] {});
140 }
141
163 String[] defaultValue,
164 PubSubOption... options) {
165 return new StringArrayEntryImpl(
166 this,
167 NetworkTablesJNI.getEntry(
169 "string[]", options),
170 defaultValue);
171 }
172
195 String typeString,
196 String[] defaultValue,
197 PubSubOption... options) {
198 return new StringArrayEntryImpl(
199 this,
200 NetworkTablesJNI.getEntry(
202 typeString, options),
203 defaultValue);
204 }
205
206}
StringArrayTopic(NetworkTableInstance inst, int handle)
StringArrayPublisher publishEx(String typeString, String properties, PubSubOption... options)
StringArrayPublisher publish(PubSubOption... options)
StringArrayEntry getEntryEx(String typeString, String[] defaultValue, PubSubOption... options)
StringArrayEntry getEntry(String[] defaultValue, PubSubOption... options)
StringArraySubscriber subscribe(String[] defaultValue, PubSubOption... options)
StringArraySubscriber subscribeEx(String typeString, String[] defaultValue, PubSubOption... options)
final NetworkTableInstance m_inst
Definition Topic.java:333