RobotCore
1.0
WPILib port to raspberry Pi
Toggle main menu visibility
Loading...
Searching...
No Matches
IntegerArrayTopic.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
7
package
org.wpilib.networktables;
8
10
public
final
class
IntegerArrayTopic
extends
Topic {
12
public
static
final
String
TYPE_STRING
=
"int[]"
;
13
19
public
IntegerArrayTopic
(Topic topic) {
20
super(topic.
m_inst
, topic.
m_handle
);
21
}
22
29
public
IntegerArrayTopic
(
NetworkTableInstance
inst,
int
handle) {
30
super(inst, handle);
31
}
32
48
public
IntegerArraySubscriber
subscribe
(
49
long
[] defaultValue,
50
PubSubOption
... options) {
51
return
new
IntegerArrayEntryImpl(
52
this
,
53
NetworkTablesJNI
.subscribe(
54
m_handle
,
NetworkTableType
.
INTEGER_ARRAY
.getValue(),
55
"int[]"
, options),
56
defaultValue);
57
}
58
75
public
IntegerArraySubscriber
subscribeEx
(
76
String typeString,
77
long
[] defaultValue,
78
PubSubOption
... options) {
79
return
new
IntegerArrayEntryImpl(
80
this
,
81
NetworkTablesJNI
.subscribe(
82
m_handle
,
NetworkTableType
.
INTEGER_ARRAY
.getValue(),
83
typeString, options),
84
defaultValue);
85
}
86
102
public
IntegerArrayPublisher
publish
(
103
PubSubOption
... options) {
104
return
new
IntegerArrayEntryImpl(
105
this
,
106
NetworkTablesJNI
.publish(
107
m_handle
,
NetworkTableType
.
INTEGER_ARRAY
.getValue(),
108
"int[]"
, options),
109
new
long
[] {});
110
}
111
130
public
IntegerArrayPublisher
publishEx
(
131
String typeString,
132
String properties,
133
PubSubOption
... options) {
134
return
new
IntegerArrayEntryImpl(
135
this
,
136
NetworkTablesJNI
.publishEx(
137
m_handle
,
NetworkTableType
.
INTEGER_ARRAY
.getValue(),
138
typeString, properties, options),
139
new
long
[] {});
140
}
141
162
public
IntegerArrayEntry
getEntry
(
163
long
[] defaultValue,
164
PubSubOption
... options) {
165
return
new
IntegerArrayEntryImpl(
166
this
,
167
NetworkTablesJNI
.getEntry(
168
m_handle
,
NetworkTableType
.
INTEGER_ARRAY
.getValue(),
169
"int[]"
, options),
170
defaultValue);
171
}
172
194
public
IntegerArrayEntry
getEntryEx
(
195
String typeString,
196
long
[] defaultValue,
197
PubSubOption
... options) {
198
return
new
IntegerArrayEntryImpl(
199
this
,
200
NetworkTablesJNI
.getEntry(
201
m_handle
,
NetworkTableType
.
INTEGER_ARRAY
.getValue(),
202
typeString, options),
203
defaultValue);
204
}
205
206
}
org.wpilib.networktables.IntegerArrayTopic.IntegerArrayTopic
IntegerArrayTopic(NetworkTableInstance inst, int handle)
Definition
IntegerArrayTopic.java:29
org.wpilib.networktables.IntegerArrayTopic.getEntryEx
IntegerArrayEntry getEntryEx(String typeString, long[] defaultValue, PubSubOption... options)
Definition
IntegerArrayTopic.java:194
org.wpilib.networktables.IntegerArrayTopic.publish
IntegerArrayPublisher publish(PubSubOption... options)
Definition
IntegerArrayTopic.java:102
org.wpilib.networktables.IntegerArrayTopic.TYPE_STRING
static final String TYPE_STRING
Definition
IntegerArrayTopic.java:12
org.wpilib.networktables.IntegerArrayTopic.getEntry
IntegerArrayEntry getEntry(long[] defaultValue, PubSubOption... options)
Definition
IntegerArrayTopic.java:162
org.wpilib.networktables.IntegerArrayTopic.IntegerArrayTopic
IntegerArrayTopic(Topic topic)
Definition
IntegerArrayTopic.java:19
org.wpilib.networktables.IntegerArrayTopic.subscribe
IntegerArraySubscriber subscribe(long[] defaultValue, PubSubOption... options)
Definition
IntegerArrayTopic.java:48
org.wpilib.networktables.IntegerArrayTopic.subscribeEx
IntegerArraySubscriber subscribeEx(String typeString, long[] defaultValue, PubSubOption... options)
Definition
IntegerArrayTopic.java:75
org.wpilib.networktables.IntegerArrayTopic.publishEx
IntegerArrayPublisher publishEx(String typeString, String properties, PubSubOption... options)
Definition
IntegerArrayTopic.java:130
org.wpilib.networktables.NetworkTableInstance
Definition
NetworkTableInstance.java:47
org.wpilib.networktables.NetworkTablesJNI
Definition
NetworkTablesJNI.java:26
org.wpilib.networktables.Topic.m_inst
final NetworkTableInstance m_inst
Definition
Topic.java:333
org.wpilib.networktables.Topic.m_handle
final int m_handle
Definition
Topic.java:336
org.wpilib.networktables.NetworkTableType
Definition
NetworkTableType.java:8
org.wpilib.networktables.NetworkTableType.INTEGER_ARRAY
INTEGER_ARRAY
Definition
NetworkTableType.java:30
org.wpilib.networktables.IntegerArrayEntry
Definition
IntegerArrayEntry.java:14
org.wpilib.networktables.IntegerArrayPublisher
Definition
IntegerArrayPublisher.java:12
org.wpilib.networktables.IntegerArraySubscriber
Definition
IntegerArraySubscriber.java:12
org.wpilib.networktables.PubSubOption
Definition
PubSubOption.java:8
org
wpilib
networktables
IntegerArrayTopic.java
Generated by
1.18.0