uvw
3.1.0
Loading...
Searching...
No Matches
src
uvw
prepare.h
1
#ifndef UVW_PREPARE_INCLUDE_H
2
#define UVW_PREPARE_INCLUDE_H
3
4
#include <uv.h>
5
#include "handle.hpp"
6
#include "loop.h"
7
8
namespace
uvw
{
9
11
struct
prepare_event
{};
12
21
class
prepare_handle
final:
public
handle
<prepare_handle, uv_prepare_t, prepare_event> {
22
static
void
start_callback(uv_prepare_t *hndl);
23
24
public
:
25
using
handle::handle;
26
31
int
init
() final;
32
43
int
start
();
44
49
int
stop
();
50
};
51
52
}
// namespace uvw
53
54
#ifndef UVW_AS_LIB
55
# include "prepare.cpp"
56
#endif
57
58
#endif
// UVW_PREPARE_INCLUDE_H
uvw::handle
Handle base class.
Definition:
handle.hpp:23
uvw::prepare_handle
The prepare handle.
Definition:
prepare.h:21
uvw::prepare_handle::init
int init() final
Initializes the handle.
uvw::prepare_handle::stop
int stop()
Stops the handle.
uvw::prepare_handle::start
int start()
Starts the handle.
uvw
uvw default namespace.
Definition:
async.h:8
uvw::prepare_event
Prepare event.
Definition:
prepare.h:11
Generated by
1.9.6