uvw  2.10.0
Classes | Typedefs | Functions | Variables
uvw Namespace Reference

uvw default namespace. More...

Classes

struct  AsyncEvent
 AsyncEvent event. More...
 
class  AsyncHandle
 The AsyncHandle handle. More...
 
struct  CheckEvent
 CheckEvent event. More...
 
class  CheckHandle
 The CheckHandle handle. More...
 
struct  AddrInfoEvent
 AddrInfoEvent event. More...
 
struct  NameInfoEvent
 NameInfoEvent event. More...
 
class  GetAddrInfoReq
 The GetAddrInfoReq request. More...
 
class  GetNameInfoReq
 The GetNameInfoReq request. More...
 
struct  ErrorEvent
 The ErrorEvent event. More...
 
class  Emitter
 Event emitter base class. More...
 
struct  FsEvent
 Default FsEvent event. More...
 
struct  FsEvent< details::UVFsType::READ >
 FsEvent event specialization for FsRequest::Type::READ. More...
 
struct  FsEvent< details::UVFsType::WRITE >
 FsEvent event specialization for FsRequest::Type::WRITE. More...
 
struct  FsEvent< details::UVFsType::SENDFILE >
 FsEvent event specialization for FsRequest::Type::SENDFILE. More...
 
struct  FsEvent< details::UVFsType::STAT >
 FsEvent event specialization for FsRequest::Type::STAT. More...
 
struct  FsEvent< details::UVFsType::FSTAT >
 FsEvent event specialization for FsRequest::Type::FSTAT. More...
 
struct  FsEvent< details::UVFsType::LSTAT >
 FsEvent event specialization for FsRequest::Type::LSTAT. More...
 
struct  FsEvent< details::UVFsType::STATFS >
 FsEvent event specialization for FsRequest::Type::STATFS. More...
 
struct  FsEvent< details::UVFsType::MKSTEMP >
 FsEvent event specialization for FsRequest::Type::MKSTEMP. More...
 
struct  FsEvent< details::UVFsType::SCANDIR >
 FsEvent event specialization for FsRequest::Type::SCANDIR. More...
 
struct  FsEvent< details::UVFsType::READLINK >
 FsEvent event specialization for FsRequest::Type::READLINK. More...
 
struct  FsEvent< details::UVFsType::READDIR >
 FsEvent event specialization for FsRequest::Type::READDIR. More...
 
class  FsRequest
 Base class for FsReq and/or FileReq. More...
 
class  FileReq
 The FileReq request. More...
 
class  FsReq
 The FsReq request. More...
 
struct  FsHelper
 Helper functions. More...
 
struct  FsEventEvent
 FsEventEvent event. More...
 
class  FsEventHandle
 The FsEventHandle handle. More...
 
struct  FsPollEvent
 FsPollEvent event. More...
 
class  FsPollHandle
 The FsPollHandle handle. More...
 
struct  CloseEvent
 CloseEvent event. More...
 
class  Handle
 Handle base class. More...
 
struct  IdleEvent
 IdleEvent event. More...
 
class  IdleHandle
 The IdleHandle handle. More...
 
class  SharedLib
 The SharedLib class. More...
 
class  Loop
 The Loop class. More...
 
class  PipeHandle
 The PipeHandle handle. More...
 
struct  PollEvent
 PollEvent event. More...
 
class  PollHandle
 The PollHandle handle. More...
 
struct  PrepareEvent
 PrepareEvent event. More...
 
class  PrepareHandle
 The PrepareHandle handle. More...
 
struct  ExitEvent
 ExitEvent event. More...
 
class  ProcessHandle
 The ProcessHandle handle. More...
 
class  Request
 Request base class. More...
 
class  Resource
 Common class for almost all the resources available in uvw. More...
 
struct  SignalEvent
 SignalEvent event. More...
 
class  SignalHandle
 The SignalHandle handle. More...
 
struct  ConnectEvent
 ConnectEvent event. More...
 
struct  EndEvent
 EndEvent event. More...
 
struct  ListenEvent
 ListenEvent event. More...
 
struct  ShutdownEvent
 ShutdownEvent event. More...
 
struct  WriteEvent
 WriteEvent event. More...
 
struct  DataEvent
 DataEvent event. More...
 
class  StreamHandle
 The StreamHandle handle. More...
 
class  TCPHandle
 The TCPHandle handle. More...
 
class  Thread
 The Thread wrapper. More...
 
class  ThreadLocalStorage
 The ThreadLocalStorage wrapper. More...
 
class  Once
 The Once wrapper. More...
 
class  Mutex
 The Mutex wrapper. More...
 
class  RWLock
 The RWLock wrapper. More...
 
class  Semaphore
 The Semaphore wrapper. More...
 
class  Condition
 The Condition wrapper. More...
 
class  Barrier
 The Barrier wrapper. More...
 
struct  TimerEvent
 TimerEvent event. More...
 
class  TimerHandle
 The TimerHandle handle. More...
 
class  TTYHandle
 The TTYHandle handle. More...
 
struct  SendEvent
 SendEvent event. More...
 
struct  UDPDataEvent
 UDPDataEvent event. More...
 
class  UDPHandle
 The UDPHandle handle. More...
 
class  UnderlyingType
 Wrapper class for underlying types. More...
 
class  Flags
 Utility class to handle flags. More...
 
struct  WinSize
 Windows size representation. More...
 
struct  Passwd
 Utility class. More...
 
struct  UtsName
 Utility class. More...
 
struct  IPv4
 The IPv4 tag. More...
 
struct  IPv6
 The IPv6 tag. More...
 
struct  Addr
 Address representation. More...
 
struct  CPUInfo
 CPU information. More...
 
struct  InterfaceAddress
 Interface address. More...
 
struct  Utilities
 Miscellaneous utilities. More...
 
struct  Overloaded
 Helper type for visitors. More...
 
struct  WorkEvent
 WorkEvent event. More...
 
class  WorkReq
 The WorkReq request. More...
 

Typedefs

using HandleType = details::UVHandleType
 
using HandleCategory = details::UVTypeWrapper< uv_handle_type >
 
using FileHandle = details::UVTypeWrapper< uv_file >
 
using OSSocketHandle = details::UVTypeWrapper< uv_os_sock_t >
 
using OSFileDescriptor = details::UVTypeWrapper< uv_os_fd_t >
 
using PidType = details::UVTypeWrapper< uv_pid_t >
 
using TimeSpec = uv_timespec_t
 
using Stat = uv_stat_t
 
using Statfs = uv_statfs_t
 
using Uid = uv_uid_t
 
using Gid = uv_gid_t
 
using TimeVal = uv_timeval_t
 
using TimeVal64 = uv_timeval64_t
 
using RUsage = uv_rusage_t
 

Functions

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

Variables

constexpr FileHandle StdIN {0}
 
constexpr FileHandle StdOUT {1}
 
constexpr FileHandle StdERR {2}
 

Detailed Description

uvw default namespace.

Typedef Documentation

◆ FileHandle

using uvw::FileHandle = typedef details::UVTypeWrapper<uv_file>

Utility class that wraps an internal file handle.

Definition at line 189 of file util.h.

◆ Gid

using uvw::Gid = typedef uv_gid_t

Library equivalent for uv_gid_t.

Definition at line 202 of file util.h.

◆ HandleCategory

using uvw::HandleCategory = typedef details::UVTypeWrapper<uv_handle_type>

Utility class that wraps an internal handle type.

Definition at line 188 of file util.h.

◆ HandleType

using uvw::HandleType = typedef details::UVHandleType

The type of a handle.

Definition at line 186 of file util.h.

◆ OSFileDescriptor

using uvw::OSFileDescriptor = typedef details::UVTypeWrapper<uv_os_fd_t>

Utility class that wraps an os file descriptor.

Definition at line 191 of file util.h.

◆ OSSocketHandle

using uvw::OSSocketHandle = typedef details::UVTypeWrapper<uv_os_sock_t>

Utility class that wraps an os socket handle.

Definition at line 190 of file util.h.

◆ PidType

using uvw::PidType = typedef details::UVTypeWrapper<uv_pid_t>

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

Definition at line 192 of file util.h.

◆ RUsage

using uvw::RUsage = typedef uv_rusage_t

Library equivalent for uv_rusage_t.

Definition at line 206 of file util.h.

◆ Stat

using uvw::Stat = typedef uv_stat_t

Library equivalent for uv_stat_t.

Definition at line 199 of file util.h.

◆ Statfs

using uvw::Statfs = typedef uv_statfs_t

Library equivalent for uv_statfs_t.

Definition at line 200 of file util.h.

◆ TimeSpec

using uvw::TimeSpec = typedef uv_timespec_t

Library equivalent for uv_timespec_t.

Definition at line 198 of file util.h.

◆ TimeVal

using uvw::TimeVal = typedef uv_timeval_t

Library equivalent for uv_timeval_t.

Definition at line 204 of file util.h.

◆ TimeVal64

using uvw::TimeVal64 = typedef uv_timeval64_t

Library equivalent for uv_timeval64_t.

Definition at line 205 of file util.h.

◆ Uid

using uvw::Uid = typedef uv_uid_t

Library equivalent for uv_uid_t.

Definition at line 201 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 63 of file type_info.hpp.

Variable Documentation

◆ StdERR

constexpr FileHandle uvw::StdERR {2}
constexpr

Placeholder for stderr descriptor.

Definition at line 196 of file util.h.

◆ StdIN

constexpr FileHandle uvw::StdIN {0}
constexpr

Placeholder for stdin descriptor.

Definition at line 194 of file util.h.

◆ StdOUT

constexpr FileHandle uvw::StdOUT {1}
constexpr

Placeholder for stdout descriptor.

Definition at line 195 of file util.h.