Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes
com.MAVLink.Messages.MAVLinkPayload Class Reference

List of all members.

Public Member Functions

void add (byte c)
byte getByte ()
ByteBuffer getData ()
float getFloat ()
int getInt ()
long getLong ()
long getLongReverse ()
short getShort ()
short getUnsignedByte ()
long getUnsignedInt ()
long getUnsignedLong ()
int getUnsignedShort ()
 MAVLinkPayload (int payloadSize)
void putByte (byte data)
void putFloat (float data)
void putInt (int data)
void putLong (long data)
void putShort (short data)
void putUnsignedByte (short data)
void putUnsignedInt (long data)
void putUnsignedLong (long data)
void putUnsignedShort (int data)
void resetIndex ()
int size ()

Public Attributes

int index
final ByteBuffer payload

Static Public Attributes

static final int MAX_PAYLOAD_SIZE = 255

Static Private Attributes

static final short UNSIGNED_BYTE_MAX_VALUE = Byte.MAX_VALUE - Byte.MIN_VALUE
static final byte UNSIGNED_BYTE_MIN_VALUE = 0
static final long UNSIGNED_INT_MAX_VALUE = (long) Integer.MAX_VALUE - Integer.MIN_VALUE
static final int UNSIGNED_INT_MIN_VALUE = 0
static final long UNSIGNED_LONG_MIN_VALUE = 0
static final int UNSIGNED_SHORT_MAX_VALUE = Short.MAX_VALUE - Short.MIN_VALUE
static final short UNSIGNED_SHORT_MIN_VALUE = 0

Detailed Description

Definition at line 11 of file MAVLinkPayload.java.


Constructor & Destructor Documentation

Definition at line 29 of file MAVLinkPayload.java.


Member Function Documentation

void com.MAVLink.Messages.MAVLinkPayload.add ( byte  c) [inline]

Definition at line 45 of file MAVLinkPayload.java.

Definition at line 53 of file MAVLinkPayload.java.

Definition at line 37 of file MAVLinkPayload.java.

Definition at line 135 of file MAVLinkPayload.java.

Definition at line 83 of file MAVLinkPayload.java.

Definition at line 103 of file MAVLinkPayload.java.

Definition at line 121 of file MAVLinkPayload.java.

Definition at line 67 of file MAVLinkPayload.java.

Definition at line 60 of file MAVLinkPayload.java.

Definition at line 93 of file MAVLinkPayload.java.

Definition at line 117 of file MAVLinkPayload.java.

Definition at line 75 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putByte ( byte  data) [inline]

Definition at line 139 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putFloat ( float  data) [inline]

Definition at line 198 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putInt ( int  data) [inline]

Definition at line 164 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putLong ( long  data) [inline]

Definition at line 179 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putShort ( short  data) [inline]

Definition at line 151 of file MAVLinkPayload.java.

Definition at line 143 of file MAVLinkPayload.java.

Definition at line 171 of file MAVLinkPayload.java.

Definition at line 190 of file MAVLinkPayload.java.

Definition at line 156 of file MAVLinkPayload.java.

Definition at line 49 of file MAVLinkPayload.java.

Definition at line 41 of file MAVLinkPayload.java.


Member Data Documentation

Definition at line 27 of file MAVLinkPayload.java.

Definition at line 24 of file MAVLinkPayload.java.

Definition at line 26 of file MAVLinkPayload.java.

final short com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_BYTE_MAX_VALUE = Byte.MAX_VALUE - Byte.MIN_VALUE [static, private]

Definition at line 14 of file MAVLinkPayload.java.

Definition at line 13 of file MAVLinkPayload.java.

final long com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_INT_MAX_VALUE = (long) Integer.MAX_VALUE - Integer.MIN_VALUE [static, private]

Definition at line 20 of file MAVLinkPayload.java.

Definition at line 19 of file MAVLinkPayload.java.

Definition at line 22 of file MAVLinkPayload.java.

final int com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_SHORT_MAX_VALUE = Short.MAX_VALUE - Short.MIN_VALUE [static, private]

Definition at line 17 of file MAVLinkPayload.java.

Definition at line 16 of file MAVLinkPayload.java.


The documentation for this class was generated from the following file:


mavlink
Author(s): Lorenz Meier
autogenerated on Thu Jun 6 2019 19:01:57