RobotCore
1.0
WPILib port to raspberry Pi
Toggle main menu visibility
Loading...
Searching...
No Matches
ValueEventData.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
package
org.wpilib.networktables;
6
8
public
final
class
ValueEventData
{
10
public
final
int
topic
;
11
16
public
final
int
subentry
;
17
19
public
final
NetworkTableValue
value
;
20
29
public
ValueEventData
(
30
NetworkTableInstance
inst,
int
topic
,
int
subentry
,
NetworkTableValue
value
) {
31
this.m_inst = inst;
32
this.topic =
topic
;
33
this.subentry =
subentry
;
34
this.value =
value
;
35
}
36
37
/* Cached topic object. */
38
private
Topic
m_topicObject;
39
40
private
final
NetworkTableInstance
m_inst;
41
47
public
Topic
getTopic
() {
48
if
(m_topicObject ==
null
) {
49
m_topicObject =
new
Topic
(m_inst,
topic
);
50
}
51
return
m_topicObject;
52
}
53
}
org.wpilib.networktables.NetworkTableInstance
Definition
NetworkTableInstance.java:47
org.wpilib.networktables.NetworkTableValue
Definition
NetworkTableValue.java:13
org.wpilib.networktables.Topic
Definition
Topic.java:8
org.wpilib.networktables.ValueEventData.value
final NetworkTableValue value
Definition
ValueEventData.java:19
org.wpilib.networktables.ValueEventData.getTopic
Topic getTopic()
Definition
ValueEventData.java:47
org.wpilib.networktables.ValueEventData.subentry
final int subentry
Definition
ValueEventData.java:16
org.wpilib.networktables.ValueEventData.ValueEventData
ValueEventData(NetworkTableInstance inst, int topic, int subentry, NetworkTableValue value)
Definition
ValueEventData.java:29
org.wpilib.networktables.ValueEventData.topic
final int topic
Definition
ValueEventData.java:10
org
wpilib
networktables
ValueEventData.java
Generated by
1.18.0