Android-cuttlefish cvd tool
|
#include <event_buffer.h>
Classes | |
struct | virtio_input_event |
Public Member Functions | |
EventBuffer (size_t num_events) | |
void | AddEvent (uint16_t type, uint16_t code, int32_t value) |
size_t | size () const |
const void * | data () const |
Private Attributes | |
std::vector< virtio_input_event > | buffer_ |
cuttlefish::EventBuffer::EventBuffer | ( | size_t | num_events | ) |
void cuttlefish::EventBuffer::AddEvent | ( | uint16_t | type, |
uint16_t | code, | ||
int32_t | value | ||
) |
|
inline |
|
inline |
|
private |