Package edu.wpi.first.networktables
Class TopicInfo
java.lang.Object
edu.wpi.first.networktables.TopicInfo
public final class TopicInfo extends Object
NetworkTables topic information.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description TopicInfo(NetworkTableInstance inst, int handle, String name, int type, String typeStr)
Constructor. -
Method Summary
Modifier and Type Method Description NetworkTableInstance
getInstance()
Get the instance.Topic
getTopic()
Get the topic as an object.
-
Field Details
-
Constructor Details
-
TopicInfo
Constructor. This should generally only be used internally to NetworkTables.- Parameters:
inst
- Instancehandle
- Topic handlename
- Nametype
- Type (integer version ofNetworkTableType
)typeStr
- Type string
-
-
Method Details
-
getInstance
Get the instance.- Returns:
- Instance
-
getTopic
Get the topic as an object.- Returns:
- Topic
-