-
- All Implemented Interfaces:
-
android.os.Parcelable
public final class CylinderConfigData implements Parcelable
Container class for holding Cylinder configuration data.
Defines the hydraulic cylinders.
-
-
Field Summary
Fields Modifier and Type Field Description public final static intCYLINDER_DATA_LENGTHpublic intidpublic intbaseLinkageIdpublic intfollowerLinkageIdpublic Array<float>basePositionpublic Array<float>followerPositionpublic floatbaseAreapublic floatfollowerAreapublic final static Parcelable.Creator<CylinderConfigData>CREATOR
-
Constructor Summary
Constructors Constructor Description CylinderConfigData()Default constructor. CylinderConfigData(ByteBuffer bb)Constructor that creates object based on the provided byte buffer.
-
Method Summary
Modifier and Type Method Description intdescribeContents()voidwriteToParcel(Parcel dest, int flags)Array<byte>toByteArray(ByteOrder byteOrder)Creates a byte array based on this object. StringtoString()-
-
Constructor Detail
-
CylinderConfigData
CylinderConfigData()
Default constructor.
-
CylinderConfigData
CylinderConfigData(ByteBuffer bb)
Constructor that creates object based on the provided byte buffer.
-
-
Method Detail
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
toByteArray
Array<byte> toByteArray(ByteOrder byteOrder)
Creates a byte array based on this object.
Takes in to account how the data is stored in the dataset regarding padding.
- Parameters:
byteOrder- the wanted byte order of the byte array
-
-
-
-