uvw
2.10.0
src
uvw
prepare.h
1
#ifndef UVW_PREPARE_INCLUDE_H
2
#define UVW_PREPARE_INCLUDE_H
3
4
5
#include <uv.h>
6
#include "handle.hpp"
7
#include "loop.h"
8
9
10
namespace
uvw
{
11
12
18
struct
PrepareEvent
{};
19
20
29
class
PrepareHandle
final:
public
Handle
<PrepareHandle, uv_prepare_t> {
30
static
void
startCallback(uv_prepare_t *handle);
31
32
public
:
33
using
Handle::Handle;
34
39
bool
init
();
40
49
void
start
();
50
54
void
stop
();
55
};
56
57
58
}
59
60
61
#ifndef UVW_AS_LIB
62
#include "prepare.cpp"
63
#endif
64
65
#endif
// UVW_PREPARE_INCLUDE_H
uvw::Handle
Handle base class.
Definition:
handle.hpp:30
uvw::PrepareHandle
The PrepareHandle handle.
Definition:
prepare.h:29
uvw::PrepareHandle::start
void start()
Starts the handle.
uvw::PrepareHandle::init
bool init()
Initializes the handle.
uvw::PrepareHandle::stop
void stop()
Stops the handle.
uvw
uvw default namespace.
Definition:
async.h:10
uvw::PrepareEvent
PrepareEvent event.
Definition:
prepare.h:18
Generated by
1.9.1