Flutter Engine
The Flutter Engine
bentleyottmann
EventQueueTestingPeer
Static Public Member Functions
|
List of all members
bentleyottmann::EventQueueTestingPeer Class Reference
Static Public Member Functions
static
Event
NextEvent
(
EventQueue
*
eq
)
Detailed Description
Definition at line
8
of file
EventQueueTest.cpp
.
Member Function Documentation
◆
NextEvent()
static
Event
bentleyottmann::EventQueueTestingPeer::NextEvent
(
EventQueue
*
eq
)
inline
static
Definition at line
10
of file
EventQueueTest.cpp
.
10
{
11
SkASSERT
(
eq
->hasMoreEvents());
12
13
auto
firstElement =
eq
->fQueue.begin();
14
15
// Extract event at the beginning of the queue.
16
Event
event
= *firstElement;
17
18
// Remove the beginning element from the queue.
19
eq
->fQueue.erase(firstElement);
20
21
return
event
;
22
}
eq
static bool eq(const SkM44 &a, const SkM44 &b, float tol)
Definition:
M44Test.cpp:18
SkASSERT
#define SkASSERT(cond)
Definition:
SkAssert.h:116
event
FlKeyEvent * event
Definition:
fl_key_channel_responder.cc:118
bentleyottmann::Event
Definition:
EventQueue.h:49
The documentation for this class was generated from the following file:
third_party/skia/modules/bentleyottmann/tests/
EventQueueTest.cpp
Generated on Sun Jun 23 2024 21:58:28 for Flutter Engine by
1.9.4