Interface NTSendableBuilder
- All Superinterfaces:
AutoCloseable, SendableBuilder
- All Known Implementing Classes:
SendableBuilderImpl
Helper class for building Sendable dashboard representations for NetworkTables.
-
Nested Class Summary
Nested classes/interfaces inherited from interface SendableBuilder
SendableBuilder.BackendKind -
Method Summary
Modifier and TypeMethodDescriptiondefault SendableBuilder.BackendKindGets the kind of backend being used.getTable()Get the network table.Add a property without getters or setters.voidsetUpdateTable(Runnable func) Set the function that should be called to update the network table for things other than properties.Methods inherited from interface AutoCloseable
closeMethods inherited from interface SendableBuilder
addBooleanArrayProperty, addBooleanProperty, addCloseable, addDoubleArrayProperty, addDoubleProperty, addFloatArrayProperty, addFloatProperty, addIntegerArrayProperty, addIntegerProperty, addRawProperty, addStringArrayProperty, addStringProperty, clearProperties, isPublished, publishConstBoolean, publishConstBooleanArray, publishConstDouble, publishConstDoubleArray, publishConstFloat, publishConstFloatArray, publishConstInteger, publishConstIntegerArray, publishConstRaw, publishConstString, publishConstStringArray, setActuator, setSmartDashboardType, update
-
Method Details
-
setUpdateTable
Set the function that should be called to update the network table for things other than properties. Note this function is not passed the network table object; instead it should use the entry handles returned by getEntry().- Parameters:
func- function
-
getTopic
-
getTable
-
getBackendKind
Description copied from interface:SendableBuilderGets the kind of backend being used.- Specified by:
getBackendKindin interfaceSendableBuilder- Returns:
- Backend kind
-