uvw
2.12.1
Loading...
Searching...
No Matches
src
uvw
check.h
1
#ifndef UVW_CHECK_INCLUDE_H
2
#define UVW_CHECK_INCLUDE_H
3
4
#include <uv.h>
5
#include "handle.hpp"
6
#include "loop.h"
7
8
namespace
uvw
{
9
15
struct
CheckEvent
{};
16
25
class
CheckHandle
final:
public
Handle
<CheckHandle, uv_check_t> {
26
static
void
startCallback(uv_check_t *handle);
27
28
public
:
29
using
Handle::Handle;
30
35
bool
init
();
36
43
void
start
();
44
48
void
stop
();
49
};
50
51
}
// namespace uvw
52
53
#ifndef UVW_AS_LIB
54
# include "check.cpp"
55
#endif
56
57
#endif
// UVW_CHECK_INCLUDE_H
uvw::CheckHandle
The CheckHandle handle.
Definition
check.h:25
uvw::CheckHandle::init
bool init()
Initializes the handle.
uvw::CheckHandle::stop
void stop()
Stops the handle.
uvw::CheckHandle::start
void start()
Starts the handle.
uvw::Handle
Handle base class.
Definition
handle.hpp:26
uvw
uvw default namespace.
Definition
async.h:8
uvw::CheckEvent
CheckEvent event.
Definition
check.h:15
Generated by
1.12.0