Package frc.robot.loggers.revlib.structs
Class SparkWarningsStruct
java.lang.Object
frc.robot.loggers.revlib.structs.SparkWarningsStruct
Struct to represent the data in
SparkBase.Warnings
.-
Field Summary
FieldsFields inherited from interface edu.wpi.first.util.struct.Struct
kSizeBool, kSizeDouble, kSizeFloat, kSizeInt16, kSizeInt32, kSizeInt64, kSizeInt8
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
getSize()
boolean
void
pack
(ByteBuffer bb, Integer value) unpack
(ByteBuffer bb) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface edu.wpi.first.util.struct.Struct
clone, getNested, getTypeString, isCloneable, unpackInto
-
Field Details
-
inst
Static instance of the struct.
-
-
Constructor Details
-
SparkWarningsStruct
public SparkWarningsStruct()
-
-
Method Details
-
getTypeClass
- Specified by:
getTypeClass
in interfaceStruct<Integer>
-
getTypeName
- Specified by:
getTypeName
in interfaceStruct<Integer>
-
getSize
public int getSize() -
getSchema
-
unpack
-
pack
-
isImmutable
public boolean isImmutable()- Specified by:
isImmutable
in interfaceStruct<Integer>
-