Package edu.wpi.first.networktables
Class ValueEventData
java.lang.Object
edu.wpi.first.networktables.ValueEventData
NetworkTables value event data.
-
Field Summary
Modifier and TypeFieldDescriptionfinal int
Subscriber/entry handle.final int
Topic handle.final NetworkTableValue
The new value. -
Constructor Summary
ConstructorDescriptionValueEventData
(NetworkTableInstance inst, int topic, int subentry, NetworkTableValue value) Constructor. -
Method Summary
-
Field Details
-
topic
Topic handle. Topic.getHandle() can be used to map this to the corresponding Topic object. -
subentry
Subscriber/entry handle. Subscriber.getHandle() or entry.getHandle() can be used to map this to the corresponding Subscriber or Entry object. -
value
The new value.
-
-
Constructor Details
-
ValueEventData
Constructor. This should generally only be used internally to NetworkTables.- Parameters:
inst
- Instancetopic
- Topic handlesubentry
- Subscriber/entry handlevalue
- The new value
-
-
Method Details
-
getTopic
Get the topic as an object.- Returns:
- Topic for this notification.
-