uvw
2.12.1
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
15
struct
PrepareEvent
{};
16
25
class
PrepareHandle
final:
public
Handle
<PrepareHandle, uv_prepare_t> {
26
static
void
startCallback(uv_prepare_t *handle);
27
28
public
:
29
using
Handle::Handle;
30
35
bool
init
();
36
45
void
start
();
46
50
void
stop
();
51
};
52
53
}
// namespace uvw
54
55
#ifndef UVW_AS_LIB
56
# include "prepare.cpp"
57
#endif
58
59
#endif
// UVW_PREPARE_INCLUDE_H
uvw::Handle
Handle base class.
Definition
handle.hpp:26
uvw::PrepareHandle
The PrepareHandle handle.
Definition
prepare.h:25
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:8
uvw::PrepareEvent
PrepareEvent event.
Definition
prepare.h:15
Generated by
1.12.0