Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | List of all members
fml::testing::TestWakeable Class Reference
Inheritance diagram for fml::testing::TestWakeable:
fml::Wakeable fml::Wakeable

Public Types

using WakeUpCall = std::function< void(const fml::TimePoint)>
 
using WakeUpCall = std::function< void(const fml::TimePoint)>
 

Public Member Functions

 TestWakeable (WakeUpCall call)
 
void WakeUp (fml::TimePoint time_point) override
 
 TestWakeable (WakeUpCall call)
 
void WakeUp (fml::TimePoint time_point) override
 
- Public Member Functions inherited from fml::Wakeable
virtual ~Wakeable ()
 
virtual void WakeUp (fml::TimePoint time_point)=0
 

Detailed Description

Definition at line 19 of file message_loop_task_queues_merge_unmerge_unittests.cc.

Member Typedef Documentation

◆ WakeUpCall [1/2]

◆ WakeUpCall [2/2]

Definition at line 24 of file message_loop_task_queues_unittests.cc.

Constructor & Destructor Documentation

◆ TestWakeable() [1/2]

fml::testing::TestWakeable::TestWakeable ( WakeUpCall  call)
inlineexplicit

Definition at line 23 of file message_loop_task_queues_merge_unmerge_unittests.cc.

23: wake_up_call_(std::move(call)) {}
def call(args)
Definition: dom.py:159

◆ TestWakeable() [2/2]

fml::testing::TestWakeable::TestWakeable ( WakeUpCall  call)
inlineexplicit

Definition at line 26 of file message_loop_task_queues_unittests.cc.

26: wake_up_call_(std::move(call)) {}

Member Function Documentation

◆ WakeUp() [1/2]

void fml::testing::TestWakeable::WakeUp ( fml::TimePoint  time_point)
inlineoverridevirtual

Implements fml::Wakeable.

Definition at line 25 of file message_loop_task_queues_merge_unmerge_unittests.cc.

25{ wake_up_call_(time_point); }

◆ WakeUp() [2/2]

void fml::testing::TestWakeable::WakeUp ( fml::TimePoint  time_point)
inlineoverridevirtual

Implements fml::Wakeable.

Definition at line 28 of file message_loop_task_queues_unittests.cc.

28{ wake_up_call_(time_point); }

The documentation for this class was generated from the following files: