Package org.photonvision.struct
Class PhotonPipelineMetadataSerde
java.lang.Object
org.photonvision.struct.PhotonPipelineMetadataSerde
- All Implemented Interfaces:
PacketSerde<PhotonPipelineMetadata>
public class PhotonPipelineMetadataSerde
extends Object
implements PacketSerde<PhotonPipelineMetadata>
Auto-generated serialization/deserialization helper for PhotonPipelineMetadata
-
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, PhotonPipelineMetadata 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
-
PhotonPipelineMetadataSerde
public PhotonPipelineMetadataSerde()
-
-
Method Details
-
getInterfaceUUID
Description copied from interface:PacketSerde
The hash of the schema string- Specified by:
getInterfaceUUID
in interfacePacketSerde<PhotonPipelineMetadata>
-
getSchema
Description copied from interface:PacketSerde
The schema definition, as defined in photon-serde/README.md- Specified by:
getSchema
in interfacePacketSerde<PhotonPipelineMetadata>
-
getTypeName
Description copied from interface:PacketSerde
The name of this struct (eg "PhotonTrackedTarget")- Specified by:
getTypeName
in interfacePacketSerde<PhotonPipelineMetadata>
-
getMaxByteSize
public int getMaxByteSize()- Specified by:
getMaxByteSize
in interfacePacketSerde<PhotonPipelineMetadata>
-
pack
- Specified by:
pack
in interfacePacketSerde<PhotonPipelineMetadata>
-
unpack
- Specified by:
unpack
in interfacePacketSerde<PhotonPipelineMetadata>
-
getNestedPhotonMessages
Description copied from interface:PacketSerde
Gets the list of photonstruct types referenced by this struct.- Specified by:
getNestedPhotonMessages
in interfacePacketSerde<PhotonPipelineMetadata>
-
getNestedWpilibMessages
Description copied from interface:PacketSerde
Gets the list of WPILib struct types referenced by this struct.- Specified by:
getNestedWpilibMessages
in interfacePacketSerde<PhotonPipelineMetadata>
-