uvw
3.1.0
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
11
struct
check_event
{};
12
21
class
check_handle
final:
public
handle
<check_handle, uv_check_t, check_event> {
22
static
void
start_callback(uv_check_t *hndl);
23
24
public
:
25
using
handle::handle;
26
31
int
init
() final;
32
41
int
start
();
42
47
int
stop
();
48
};
49
50
}
// namespace uvw
51
52
#ifndef UVW_AS_LIB
53
# include "check.cpp"
54
#endif
55
56
#endif
// UVW_CHECK_INCLUDE_H
uvw::check_handle
The check handle.
Definition:
check.h:21
uvw::check_handle::init
int init() final
Initializes the handle.
uvw::check_handle::stop
int stop()
Stops the handle.
uvw::check_handle::start
int start()
Starts the handle.
uvw::handle
Handle base class.
Definition:
handle.hpp:23
uvw
uvw default namespace.
Definition:
async.h:8
uvw::check_event
Check event.
Definition:
check.h:11
Generated by
1.9.6