Class Pose3dProto
java.lang.Object
edu.wpi.first.math.geometry.proto.Pose3dProto
- All Implemented Interfaces:
Protobuf<Pose3d,
Geometry3D.ProtobufPose3d>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates protobuf message.us.hebi.quickbuf.Descriptors.Descriptor
Gets the protobuf descriptor.Gets the Class object for the stored value.boolean
Returns whether or not objects are immutable.void
pack
(Geometry3D.ProtobufPose3d msg, Pose3d value) Copies the object contents into a protobuf message.Deserializes an object from a protobuf message.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.protobuf.Protobuf
clone, forEachDescriptor, getTypeString, isCloneable, unpackInto
-
Constructor Details
-
Pose3dProto
public Pose3dProto()
-
-
Method Details
-
getTypeClass
Description copied from interface:Protobuf
Gets the Class object for the stored value.- Specified by:
getTypeClass
in interfaceProtobuf<Pose3d,
Geometry3D.ProtobufPose3d> - Returns:
- Class
-
getDescriptor
Description copied from interface:Protobuf
Gets the protobuf descriptor.- Specified by:
getDescriptor
in interfaceProtobuf<Pose3d,
Geometry3D.ProtobufPose3d> - Returns:
- descriptor
-
createMessage
Description copied from interface:Protobuf
Creates protobuf message.- Specified by:
createMessage
in interfaceProtobuf<Pose3d,
Geometry3D.ProtobufPose3d> - Returns:
- protobuf message
-
unpack
Description copied from interface:Protobuf
Deserializes an object from a protobuf message.- Specified by:
unpack
in interfaceProtobuf<Pose3d,
Geometry3D.ProtobufPose3d> - Parameters:
msg
- protobuf message- Returns:
- New object
-
pack
Description copied from interface:Protobuf
Copies the object contents into a protobuf message. Implementations should call either msg.setMember(member) or member.copyToProto(msg.getMutableMember()) for each member.- Specified by:
pack
in interfaceProtobuf<Pose3d,
Geometry3D.ProtobufPose3d> - Parameters:
msg
- protobuf messagevalue
- object to serialize
-
isImmutable
Description copied from interface:Protobuf
Returns whether or not objects are immutable. Immutable objects must also be comparable using the equals() method. Default implementation returns false.- Specified by:
isImmutable
in interfaceProtobuf<Pose3d,
Geometry3D.ProtobufPose3d> - Returns:
- True if object is immutable
-