UV module
ScopedLoop
RAII wrapper for a libuv event loop.
ScopedLoop
#include <icy/loop.h>struct ScopedLoopDefined in src/base/include/icy/loop.h:77
RAII wrapper for a libuv event loop. Automatically closes and deletes the loop on destruction.
List of all members
| Name | Kind | Owner |
|---|---|---|
loop | variable | Declared here |
ScopedLoop | function | Declared here |
~ScopedLoop | function | Declared here |
operator Loop * | function | Declared here |
get | function | Declared here |
ScopedLoop | function | Declared here |
operator= | function | Declared here |
ScopedLoop | function | Declared here |
operator= | function | Declared here |
Public Attributes
| Return | Name | Description |
|---|---|---|
Loop * | loop |
loop
Loop * loopDefined in src/base/include/icy/loop.h:79
Public Methods
| Return | Name | Description |
|---|---|---|
ScopedLoop inline | ||
operator Loop * const inline | Implicit conversion to Loop* for use with libuv APIs. | |
Loop * | get const inline | Returns the raw event loop pointer. |
ScopedLoop | Deleted constructor. | |
ScopedLoop | Deleted constructor. |
ScopedLoop
inline
inline ScopedLoop()Defined in src/base/include/icy/loop.h:81
operator Loop *
const inline
inline operator Loop *() constDefined in src/base/include/icy/loop.h:95
Implicit conversion to Loop* for use with libuv APIs.
get
const inline
inline Loop * get() constDefined in src/base/include/icy/loop.h:99
Returns the raw event loop pointer.
Returns
Pointer to the underlying uv_loop_t.
ScopedLoop
ScopedLoop(const ScopedLoop &) = deleteDefined in src/base/include/icy/loop.h:101
Deleted constructor.
ScopedLoop
ScopedLoop(ScopedLoop &&) = deleteDefined in src/base/include/icy/loop.h:103
Deleted constructor.
