5#ifndef WPINET_UV_CHECK_H_
6#define WPINET_UV_CHECK_H_
26 struct private_init {};
29 explicit Check(
const private_init&) {}
30 ~Check() noexcept override = default;
SignalBase is an implementation of the observer pattern, through the use of an emitting object and sl...
Definition Signal.h:495
Check handle.
Definition Check.h:25
void Start()
Start the handle.
void Stop()
Stop the handle.
Definition Check.h:56
~Check() noexcept override=default
sig::Signal check
Signal generated once per loop iteration after polling for I/O.
Definition Check.h:61
Check(const private_init &)
Definition Check.h:29
static std::shared_ptr< Check > Create(Loop &loop)
Create a check handle.
bool Invoke(F &&f, Args &&... args) const
Definition Handle.h:267
Handle.
Definition Handle.h:290
uv_check_t * GetRaw() const noexcept
Definition Handle.h:305
Event loop.
Definition Loop.h:37
Implement std::hash so that hash_code can be used in STL containers.
Definition PointerIntPair.h:280
UV_EXTERN int uv_check_stop(uv_check_t *check)