Public Member Functions | Public Attributes | Static Public Attributes | Static Private Attributes | List of all members
com.MAVLink.Messages.MAVLinkPayload Class Reference

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

com.MAVLink.Messages.MAVLinkPayload.MAVLinkPayload ( int  payloadSize)
inline

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.

byte com.MAVLink.Messages.MAVLinkPayload.getByte ( )
inline

Definition at line 53 of file MAVLinkPayload.java.

ByteBuffer com.MAVLink.Messages.MAVLinkPayload.getData ( )
inline

Definition at line 37 of file MAVLinkPayload.java.

float com.MAVLink.Messages.MAVLinkPayload.getFloat ( )
inline

Definition at line 135 of file MAVLinkPayload.java.

int com.MAVLink.Messages.MAVLinkPayload.getInt ( )
inline

Definition at line 83 of file MAVLinkPayload.java.

long com.MAVLink.Messages.MAVLinkPayload.getLong ( )
inline

Definition at line 103 of file MAVLinkPayload.java.

long com.MAVLink.Messages.MAVLinkPayload.getLongReverse ( )
inline

Definition at line 121 of file MAVLinkPayload.java.

short com.MAVLink.Messages.MAVLinkPayload.getShort ( )
inline

Definition at line 67 of file MAVLinkPayload.java.

short com.MAVLink.Messages.MAVLinkPayload.getUnsignedByte ( )
inline

Definition at line 60 of file MAVLinkPayload.java.

long com.MAVLink.Messages.MAVLinkPayload.getUnsignedInt ( )
inline

Definition at line 93 of file MAVLinkPayload.java.

long com.MAVLink.Messages.MAVLinkPayload.getUnsignedLong ( )
inline

Definition at line 117 of file MAVLinkPayload.java.

int com.MAVLink.Messages.MAVLinkPayload.getUnsignedShort ( )
inline

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.

void com.MAVLink.Messages.MAVLinkPayload.putUnsignedByte ( short  data)
inline

Definition at line 143 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putUnsignedInt ( long  data)
inline

Definition at line 171 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putUnsignedLong ( long  data)
inline

Definition at line 190 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.putUnsignedShort ( int  data)
inline

Definition at line 156 of file MAVLinkPayload.java.

void com.MAVLink.Messages.MAVLinkPayload.resetIndex ( )
inline

Definition at line 49 of file MAVLinkPayload.java.

int com.MAVLink.Messages.MAVLinkPayload.size ( )
inline

Definition at line 41 of file MAVLinkPayload.java.

Member Data Documentation

int com.MAVLink.Messages.MAVLinkPayload.index

Definition at line 27 of file MAVLinkPayload.java.

final int com.MAVLink.Messages.MAVLinkPayload.MAX_PAYLOAD_SIZE = 255
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
staticprivate

Definition at line 14 of file MAVLinkPayload.java.

final byte com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_BYTE_MIN_VALUE = 0
staticprivate

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
staticprivate

Definition at line 20 of file MAVLinkPayload.java.

final int com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_INT_MIN_VALUE = 0
staticprivate

Definition at line 19 of file MAVLinkPayload.java.

final long com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_LONG_MIN_VALUE = 0
staticprivate

Definition at line 22 of file MAVLinkPayload.java.

final int com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_SHORT_MAX_VALUE = Short.MAX_VALUE - Short.MIN_VALUE
staticprivate

Definition at line 17 of file MAVLinkPayload.java.

final short com.MAVLink.Messages.MAVLinkPayload.UNSIGNED_SHORT_MIN_VALUE = 0
staticprivate

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 Sun Jul 7 2019 03:22:07