Package org.photonvision.struct
Class PhotonPipelineResultSerde
java.lang.Object
org.photonvision.struct.PhotonPipelineResultSerde
- All Implemented Interfaces:
PacketSerde<PhotonPipelineResult>
Auto-generated serialization/deserialization helper for PhotonPipelineResult
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The hash of the schema stringint
PacketSerde<?>[]
Gets the list of photonstruct types referenced by this struct.Struct<?>[]
Gets the list of WPILib struct types referenced by this struct.final String
The schema definition, as defined in photon-serde/README.mdfinal String
The name of this struct (eg "PhotonTrackedTarget")void
pack
(Packet packet, PhotonPipelineResult value) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.photonvision.common.dataflow.structures.PacketSerde
getTypeString
-
Constructor Details
-
PhotonPipelineResultSerde
public PhotonPipelineResultSerde()
-
-
Method Details
-
getInterfaceUUID
Description copied from interface:PacketSerde
The hash of the schema string- Specified by:
getInterfaceUUID
in interfacePacketSerde<PhotonPipelineResult>
-
getSchema
Description copied from interface:PacketSerde
The schema definition, as defined in photon-serde/README.md- Specified by:
getSchema
in interfacePacketSerde<PhotonPipelineResult>
-
getTypeName
Description copied from interface:PacketSerde
The name of this struct (eg "PhotonTrackedTarget")- Specified by:
getTypeName
in interfacePacketSerde<PhotonPipelineResult>
-
getMaxByteSize
public int getMaxByteSize()- Specified by:
getMaxByteSize
in interfacePacketSerde<PhotonPipelineResult>
-
pack
- Specified by:
pack
in interfacePacketSerde<PhotonPipelineResult>
-
unpack
- Specified by:
unpack
in interfacePacketSerde<PhotonPipelineResult>
-
getNestedPhotonMessages
Description copied from interface:PacketSerde
Gets the list of photonstruct types referenced by this struct.- Specified by:
getNestedPhotonMessages
in interfacePacketSerde<PhotonPipelineResult>
-
getNestedWpilibMessages
Description copied from interface:PacketSerde
Gets the list of WPILib struct types referenced by this struct.- Specified by:
getNestedWpilibMessages
in interfacePacketSerde<PhotonPipelineResult>
-