#include <pointer_data_packet.h>
Definition at line 16 of file pointer_data_packet.h.
◆ PointerDataPacket() [1/2]
flutter::PointerDataPacket::PointerDataPacket |
( |
size_t |
count | ) |
|
|
explicit |
◆ PointerDataPacket() [2/2]
flutter::PointerDataPacket::PointerDataPacket |
( |
uint8_t * |
data, |
|
|
size_t |
num_bytes |
|
) |
| |
◆ ~PointerDataPacket()
flutter::PointerDataPacket::~PointerDataPacket |
( |
| ) |
|
|
default |
◆ data()
const std::vector< uint8_t > & flutter::PointerDataPacket::data |
( |
| ) |
const |
|
inline |
◆ GetLength()
size_t flutter::PointerDataPacket::GetLength |
( |
| ) |
const |
◆ GetPointerData()
PointerData flutter::PointerDataPacket::GetPointerData |
( |
size_t |
i | ) |
const |
Definition at line 25 of file pointer_data_packet.cc.
25 {
28 memcpy(&
result, &data_[
i *
sizeof(PointerData)],
sizeof(PointerData));
30}
#define FML_DCHECK(condition)
◆ SetPointerData()
void flutter::PointerDataPacket::SetPointerData |
( |
size_t |
i, |
|
|
const PointerData & |
data |
|
) |
| |
The documentation for this class was generated from the following files: