Class CanandmagFaultsStruct
java.lang.Object
com.reduxrobotics.sensors.canandmag.wpistruct.CanandmagFaultsStruct
- All Implemented Interfaces:
Struct<Canandmag.Faults>
WPILib struct implementation for
Canandmag.Faults
-
Field Summary
Fields inherited from interface edu.wpi.first.util.struct.Struct
kSizeBool, kSizeDouble, kSizeFloat, kSizeInt16, kSizeInt32, kSizeInt64, kSizeInt8
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getSize()
void
pack
(ByteBuffer bb, Canandmag.Faults 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
getNested, unpackInto
-
Constructor Details
-
CanandmagFaultsStruct
public CanandmagFaultsStruct()
-
-
Method Details
-
getTypeClass
- Specified by:
getTypeClass
in interfaceStruct<Canandmag.Faults>
-
getTypeString
- Specified by:
getTypeString
in interfaceStruct<Canandmag.Faults>
-
getSize
public int getSize()- Specified by:
getSize
in interfaceStruct<Canandmag.Faults>
-
getSchema
- Specified by:
getSchema
in interfaceStruct<Canandmag.Faults>
-
unpack
- Specified by:
unpack
in interfaceStruct<Canandmag.Faults>
-
pack
- Specified by:
pack
in interfaceStruct<Canandmag.Faults>
-