X-Plane Remote Access Plugin and Client Library
|
#include <MultiBuffer.h>
Public Member Functions | |
DataRef (const std::string &name, uint8_t type, const DataRef *previous=0, size_t length=0, size_t offset=0) noexcept | |
size_t | getSize () const noexcept |
size_t | getAlignment () const noexcept |
bool | isArray () const noexcept |
size_t | getCopyLength (size_t userLength, size_t userOffset) const noexcept |
Public Attributes | |
std::string | name |
uint8_t | type |
size_t | length |
size_t | offset |
size_t | dataOffset |
Information about a dataref.
Definition at line 61 of file MultiBuffer.h.
|
inlinenoexcept |
Construct the dataref with the given data.
Definition at line 54 of file MultiBuffer.cc.
|
inlinenoexcept |
Get the alignment requirement of the data represented by this dataref.
Definition at line 95 of file MultiBuffer.cc.
|
inlinenoexcept |
Get the length of the data the can be copied for the given user parameters.
Definition at line 125 of file MultiBuffer.cc.
|
inlinenoexcept |
Get the size of the data represented by this object.
Definition at line 73 of file MultiBuffer.cc.
|
noexcept |
Determine if the dataref is an array.
Definition at line 114 of file MultiBuffer.cc.
size_t hu::varadiistvan::xplra::MultiBuffer::DataRef::dataOffset |
The offset within the data buffer.
Definition at line 87 of file MultiBuffer.h.
size_t hu::varadiistvan::xplra::MultiBuffer::DataRef::length |
The length in case of array types.
Definition at line 77 of file MultiBuffer.h.
std::string hu::varadiistvan::xplra::MultiBuffer::DataRef::name |
The name.
Definition at line 67 of file MultiBuffer.h.
size_t hu::varadiistvan::xplra::MultiBuffer::DataRef::offset |
The offset in case of array types.
Definition at line 82 of file MultiBuffer.h.
uint8_t hu::varadiistvan::xplra::MultiBuffer::DataRef::type |
The type (the protocol constant).
Definition at line 72 of file MultiBuffer.h.