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 () | |
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 = 512 |
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 |
Definition at line 11 of file MAVLinkPayload.java.
com.MAVLink.Messages.MAVLinkPayload.MAVLinkPayload | ( | ) | [inline] |
Definition at line 29 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.add | ( | byte | c | ) | [inline] |
Definition at line 41 of file MAVLinkPayload.java.
byte com.MAVLink.Messages.MAVLinkPayload.getByte | ( | ) | [inline] |
Definition at line 49 of file MAVLinkPayload.java.
ByteBuffer com.MAVLink.Messages.MAVLinkPayload.getData | ( | ) | [inline] |
Definition at line 33 of file MAVLinkPayload.java.
float com.MAVLink.Messages.MAVLinkPayload.getFloat | ( | ) | [inline] |
Definition at line 131 of file MAVLinkPayload.java.
int com.MAVLink.Messages.MAVLinkPayload.getInt | ( | ) | [inline] |
Definition at line 79 of file MAVLinkPayload.java.
long com.MAVLink.Messages.MAVLinkPayload.getLong | ( | ) | [inline] |
Definition at line 99 of file MAVLinkPayload.java.
long com.MAVLink.Messages.MAVLinkPayload.getLongReverse | ( | ) | [inline] |
Definition at line 117 of file MAVLinkPayload.java.
short com.MAVLink.Messages.MAVLinkPayload.getShort | ( | ) | [inline] |
Definition at line 63 of file MAVLinkPayload.java.
short com.MAVLink.Messages.MAVLinkPayload.getUnsignedByte | ( | ) | [inline] |
Definition at line 56 of file MAVLinkPayload.java.
long com.MAVLink.Messages.MAVLinkPayload.getUnsignedInt | ( | ) | [inline] |
Definition at line 89 of file MAVLinkPayload.java.
long com.MAVLink.Messages.MAVLinkPayload.getUnsignedLong | ( | ) | [inline] |
Definition at line 113 of file MAVLinkPayload.java.
int com.MAVLink.Messages.MAVLinkPayload.getUnsignedShort | ( | ) | [inline] |
Definition at line 71 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putByte | ( | byte | data | ) | [inline] |
Definition at line 135 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putFloat | ( | float | data | ) | [inline] |
Definition at line 194 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putInt | ( | int | data | ) | [inline] |
Definition at line 160 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putLong | ( | long | data | ) | [inline] |
Definition at line 175 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putShort | ( | short | data | ) | [inline] |
Definition at line 147 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putUnsignedByte | ( | short | data | ) | [inline] |
Definition at line 139 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putUnsignedInt | ( | long | data | ) | [inline] |
Definition at line 167 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putUnsignedLong | ( | long | data | ) | [inline] |
Definition at line 186 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.putUnsignedShort | ( | int | data | ) | [inline] |
Definition at line 152 of file MAVLinkPayload.java.
void com.MAVLink.Messages.MAVLinkPayload.resetIndex | ( | ) | [inline] |
Definition at line 45 of file MAVLinkPayload.java.
int com.MAVLink.Messages.MAVLinkPayload.size | ( | ) | [inline] |
Definition at line 37 of file MAVLinkPayload.java.
Definition at line 27 of file MAVLinkPayload.java.
final int com.MAVLink.Messages.MAVLinkPayload.MAX_PAYLOAD_SIZE = 512 [static] |
Definition at line 24 of file MAVLinkPayload.java.
final ByteBuffer com.MAVLink.Messages.MAVLinkPayload.payload |
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.
final byte com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_BYTE_MIN_VALUE = 0 [static, private] |
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.
final int com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_INT_MIN_VALUE = 0 [static, private] |
Definition at line 19 of file MAVLinkPayload.java.
final long com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_LONG_MIN_VALUE = 0 [static, private] |
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.
final short com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_SHORT_MIN_VALUE = 0 [static, private] |
Definition at line 16 of file MAVLinkPayload.java.