async:: TestLoop
Summary
Constructors and Destructors |
|
---|---|
TestLoop()
|
|
TestLoop(uint32_t state)
|
|
TestLoop(const TestLoop &)
|
|
TestLoop(TestLoop &&)
|
|
~TestLoop()
|
Public functions |
|
---|---|
AdvanceTimeByEpsilon()
|
void
|
BlockCurrentSubLoopAndRunOthersUntil(fit::function< bool()> condition)
|
bool
|
Now() const
|
|
Quit()
|
void
|
RegisterLoop(async_test_subloop_t *loop)
|
std::unique_ptr< SubloopToken >
|
RunFor(zx::duration duration)
|
bool
|
RunRepeatedlyFor(zx::duration increment)
|
void
|
RunUntil(zx::time deadline)
|
bool
|
RunUntilIdle()
|
bool
|
StartNewLoop()
|
std::unique_ptr< LoopInterface >
|
dispatcher()
|
async_dispatcher_t *
|
initial_state()
|
uint32_t
|
operator=(const TestLoop &)=delete
|
TestLoop &
|
operator=(TestLoop &&)=delete
|
TestLoop &
|
Public functions
AdvanceTimeByEpsilon
void AdvanceTimeByEpsilon()
BlockCurrentSubLoopAndRunOthersUntil
bool BlockCurrentSubLoopAndRunOthersUntil( fit::function< bool()> condition )
Now
zx::time Now() const
Quit
void Quit()
RegisterLoop
std::unique_ptr< SubloopToken > RegisterLoop( async_test_subloop_t *loop )
RunFor
bool RunFor( zx::duration duration )
RunRepeatedlyFor
void RunRepeatedlyFor( zx::duration increment )
RunUntil
bool RunUntil( zx::time deadline )
RunUntilIdle
bool RunUntilIdle()
StartNewLoop
std::unique_ptr< LoopInterface > StartNewLoop()
TestLoop
TestLoop()
TestLoop
TestLoop( uint32_t state )
TestLoop
TestLoop( const TestLoop & )=delete
TestLoop
TestLoop( TestLoop && )=delete
dispatcher
async_dispatcher_t * dispatcher()
initial_state
uint32_t initial_state()
~TestLoop
~TestLoop()