uvw 3.1.0
Loading...
Searching...
No Matches
Classes | Typedefs | Functions | Variables
uvw Namespace Reference

uvw default namespace. More...

Classes

struct  addr_info_event
 The addrinfo event. More...
 
struct  async_event
 Async event. More...
 
class  async_handle
 The async handle. More...
 
class  barrier
 The barrier wrapper. More...
 
struct  check_event
 Check event. More...
 
class  check_handle
 The check handle. More...
 
struct  close_event
 Close event. More...
 
class  condition
 The condition wrapper. More...
 
struct  connect_event
 Connect event. More...
 
struct  cpu_info
 CPU information. More...
 
struct  data_event
 Data event. More...
 
class  emitter
 Event emitter base class. More...
 
struct  end_event
 End event. More...
 
struct  error_event
 Error event. More...
 
struct  exit_event
 Exit event. More...
 
class  file_req
 The file request. More...
 
struct  fs_event
 Common fs event. More...
 
struct  fs_event_event
 Fs event event. More...
 
class  fs_event_handle
 The fs event handle. More...
 
struct  fs_helper
 Helper functions. More...
 
struct  fs_poll_event
 Fs pos event. More...
 
class  fs_poll_handle
 The fs poll handle. More...
 
class  fs_req
 The fs request. More...
 
class  fs_request
 Base class for fs/file request. More...
 
class  get_addr_info_req
 The getaddrinfo request. More...
 
class  get_name_info_req
 The getnameinfo request. More...
 
class  handle
 Handle base class. More...
 
struct  idle_event
 Idle event. More...
 
class  idle_handle
 The idle handle. More...
 
struct  interface_address
 Interface address. More...
 
struct  ipv4
 The IPv4 tag. More...
 
struct  ipv6
 The IPv6 tag. More...
 
struct  listen_event
 Listen event. More...
 
class  loop
 The loop class. More...
 
class  mutex
 The mutex wrapper. More...
 
struct  name_info_event
 The nameinfo event. More...
 
class  once
 The once wrapper. More...
 
struct  overloaded
 Helper type for visitors. More...
 
struct  passwd_info
 Utility class. More...
 
class  pipe_handle
 The pipe handle. More...
 
struct  poll_event
 Poll event. More...
 
class  poll_handle
 The poll handle. More...
 
struct  prepare_event
 Prepare event. More...
 
class  prepare_handle
 The prepare handle. More...
 
class  process_handle
 The process handle. More...
 
class  request
 Request base class. More...
 
class  resource
 Common class for almost all the resources available in uvw. More...
 
class  rwlock
 The rwlock wrapper. More...
 
class  semaphore
 The semaphore wrapper. More...
 
struct  send_event
 Send event. More...
 
class  shared_lib
 The shared lib class. More...
 
struct  shutdown_event
 Shutdown event. More...
 
struct  signal_event
 Signal event. More...
 
class  signal_handle
 The signal handle. More...
 
struct  socket_address
 Address representation. More...
 
class  stream_handle
 The stream handle. More...
 
class  tcp_handle
 The TCP handle. More...
 
class  thread
 The thread wrapper. More...
 
class  thread_local_storage
 The thread local storage wrapper. More...
 
struct  timer_event
 Timer event. More...
 
class  timer_handle
 The timer handle. More...
 
class  tty_handle
 The tty handle. More...
 
struct  udp_data_event
 UDP data event. More...
 
class  udp_handle
 The UDP handle. More...
 
struct  utilities
 Miscellaneous utilities. More...
 
struct  uts_name
 Utility class. More...
 
struct  uv_type
 Wrapper class for underlying types. More...
 
struct  win_size
 Windows size representation. More...
 
struct  work_event
 Work event. More...
 
class  work_req
 The work request. More...
 
struct  write_event
 Write event. More...
 

Typedefs

using metrics_type = uv_metrics_t
 
using handle_type = details::uvw_handle_type
 
using handle_category = details::uv_type_wrapper< uv_handle_type >
 
using file_handle = details::uv_type_wrapper< uv_file >
 
using os_socket_handle = details::uv_type_wrapper< uv_os_sock_t >
 
using os_file_descriptor = details::uv_type_wrapper< uv_os_fd_t >
 
using pid_type = details::uv_type_wrapper< uv_pid_t >
 
using clock_id = details::uvw_clock_id
 
using time_spec = uv_timespec_t
 
using file_info = uv_stat_t
 
using fs_info = uv_statfs_t
 
using uid_type = uv_uid_t
 
using gid_type = uv_gid_t
 
using timeval = uv_timeval_t
 
using timeval64 = uv_timeval64_t
 
using timespec64 = uv_timespec64_t
 
using resource_usage = uv_rusage_t
 

Functions

template<typename Type >
static constexpr std::uint32_t type () noexcept
 Returns a numerical identifier for a given type.
 
template<class... Func>
 overloaded (Func...) -> overloaded< Func... >
 Deduction guide.
 

Variables

constexpr file_handle std_in {0}
 
constexpr file_handle std_out {1}
 
constexpr file_handle std_err {2}
 

Detailed Description

uvw default namespace.

Typedef Documentation

◆ clock_id

using uvw::clock_id = typedef details::uvw_clock_id

Utility class that wraps a clock source.

Definition at line 89 of file util.h.

◆ file_handle

using uvw::file_handle = typedef details::uv_type_wrapper<uv_file>

Utility class that wraps an internal file handle.

Definition at line 85 of file util.h.

◆ file_info

using uvw::file_info = typedef uv_stat_t

Library equivalent for uv_stat_t.

Definition at line 96 of file util.h.

◆ fs_info

using uvw::fs_info = typedef uv_statfs_t

Library equivalent for uv_statfs_t.

Definition at line 97 of file util.h.

◆ gid_type

using uvw::gid_type = typedef uv_gid_t

Library equivalent for uv_gid_t.

Definition at line 99 of file util.h.

◆ handle_category

using uvw::handle_category = typedef details::uv_type_wrapper<uv_handle_type>

Utility class that wraps an internal handle type.

Definition at line 84 of file util.h.

◆ handle_type

using uvw::handle_type = typedef details::uvw_handle_type

The type of a handle.

Definition at line 83 of file util.h.

◆ metrics_type

using uvw::metrics_type = typedef uv_metrics_t

Library equivalent for uv_metrics_t.

Definition at line 50 of file loop.h.

◆ os_file_descriptor

using uvw::os_file_descriptor = typedef details::uv_type_wrapper<uv_os_fd_t>

Utility class that wraps an os file descriptor.

Definition at line 87 of file util.h.

◆ os_socket_handle

using uvw::os_socket_handle = typedef details::uv_type_wrapper<uv_os_sock_t>

Utility class that wraps an os socket handle.

Definition at line 86 of file util.h.

◆ pid_type

using uvw::pid_type = typedef details::uv_type_wrapper<uv_pid_t>

Utility class that wraps a cross platform representation of a pid.

Definition at line 88 of file util.h.

◆ resource_usage

using uvw::resource_usage = typedef uv_rusage_t

Library equivalent for uv_rusage_t.

Definition at line 104 of file util.h.

◆ time_spec

using uvw::time_spec = typedef uv_timespec_t

Library equivalent for uv_timespec_t.

Definition at line 95 of file util.h.

◆ timespec64

using uvw::timespec64 = typedef uv_timespec64_t

Library equivalent for uv_timespec64_t.

Definition at line 103 of file util.h.

◆ timeval

using uvw::timeval = typedef uv_timeval_t

Library equivalent for uv_timeval_t.

Definition at line 101 of file util.h.

◆ timeval64

using uvw::timeval64 = typedef uv_timeval64_t

Library equivalent for uv_timeval64_t.

Definition at line 102 of file util.h.

◆ uid_type

using uvw::uid_type = typedef uv_uid_t

Library equivalent for uv_uid_t.

Definition at line 98 of file util.h.

Function Documentation

◆ overloaded()

template<class... Func>
uvw::overloaded ( Func...  ) -> overloaded< Func... >

Deduction guide.

Template Parameters
FuncTypes of function objects.

◆ type()

template<typename Type >
static constexpr std::uint32_t uvw::type ( )
staticconstexprnoexcept

Returns a numerical identifier for a given type.

Template Parameters
TypeThe type for which to return the numerical identifier.
Returns
The numerical identifier of the give type.

Definition at line 53 of file type_info.hpp.

Variable Documentation

◆ std_err

constexpr file_handle uvw::std_err {2}
constexpr

Placeholder for stderr descriptor.

Definition at line 93 of file util.h.

◆ std_in

constexpr file_handle uvw::std_in {0}
constexpr

Placeholder for stdin descriptor.

Definition at line 91 of file util.h.

◆ std_out

constexpr file_handle uvw::std_out {1}
constexpr

Placeholder for stdout descriptor.

Definition at line 92 of file util.h.