uvw 2.12.1
Loading...
Searching...
No Matches
uvw Namespace Reference

uvw default namespace. More...

Classes

struct  Addr
 Address representation. More...
 
struct  AddrInfoEvent
 AddrInfoEvent event. More...
 
struct  AsyncEvent
 AsyncEvent event. More...
 
class  AsyncHandle
 The AsyncHandle handle. More...
 
class  Barrier
 The Barrier wrapper. More...
 
struct  CheckEvent
 CheckEvent event. More...
 
class  CheckHandle
 The CheckHandle handle. More...
 
struct  CloseEvent
 CloseEvent event. More...
 
class  Condition
 The Condition wrapper. More...
 
struct  ConnectEvent
 ConnectEvent event. More...
 
struct  CPUInfo
 CPU information. More...
 
struct  DataEvent
 DataEvent event. More...
 
class  Emitter
 Event emitter base class. More...
 
struct  EndEvent
 EndEvent event. More...
 
struct  ErrorEvent
 The ErrorEvent event. More...
 
struct  ExitEvent
 ExitEvent event. More...
 
class  FileReq
 The FileReq request. More...
 
class  Flags
 Utility class to handle flags. More...
 
struct  FsEvent
 Default FsEvent event. 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::MKSTEMP >
 FsEvent event specialization for FsRequest::Type::MKSTEMP. More...
 
struct  FsEvent< details::UVFsType::READ >
 FsEvent event specialization for FsRequest::Type::READ. More...
 
struct  FsEvent< details::UVFsType::READDIR >
 FsEvent event specialization for FsRequest::Type::READDIR. More...
 
struct  FsEvent< details::UVFsType::READLINK >
 FsEvent event specialization for FsRequest::Type::READLINK. More...
 
struct  FsEvent< details::UVFsType::SCANDIR >
 FsEvent event specialization for FsRequest::Type::SCANDIR. 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::STATFS >
 FsEvent event specialization for FsRequest::Type::STATFS. More...
 
struct  FsEvent< details::UVFsType::WRITE >
 FsEvent event specialization for FsRequest::Type::WRITE. More...
 
struct  FsEventEvent
 FsEventEvent event. More...
 
class  FsEventHandle
 The FsEventHandle handle. More...
 
struct  FsHelper
 Helper functions. More...
 
struct  FsPollEvent
 FsPollEvent event. More...
 
class  FsPollHandle
 The FsPollHandle handle. More...
 
class  FsReq
 The FsReq request. More...
 
class  FsRequest
 Base class for FsReq and/or FileReq. More...
 
class  GetAddrInfoReq
 The GetAddrInfoReq request. More...
 
class  GetNameInfoReq
 The GetNameInfoReq request. More...
 
class  Handle
 Handle base class. More...
 
struct  IdleEvent
 IdleEvent event. More...
 
class  IdleHandle
 The IdleHandle handle. More...
 
struct  InterfaceAddress
 Interface address. More...
 
struct  IPv4
 The IPv4 tag. More...
 
struct  IPv6
 The IPv6 tag. More...
 
struct  ListenEvent
 ListenEvent event. More...
 
class  Loop
 The Loop class. More...
 
class  Mutex
 The Mutex wrapper. More...
 
struct  NameInfoEvent
 NameInfoEvent event. More...
 
class  Once
 The Once wrapper. More...
 
struct  Overloaded
 Helper type for visitors. More...
 
struct  Passwd
 Utility 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...
 
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...
 
class  RWLock
 The RWLock wrapper. More...
 
class  Semaphore
 The Semaphore wrapper. More...
 
struct  SendEvent
 SendEvent event. More...
 
class  SharedLib
 The SharedLib class. More...
 
struct  ShutdownEvent
 ShutdownEvent event. More...
 
struct  SignalEvent
 SignalEvent event. More...
 
class  SignalHandle
 The SignalHandle handle. 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...
 
struct  TimerEvent
 TimerEvent event. More...
 
class  TimerHandle
 The TimerHandle handle. More...
 
class  TTYHandle
 The TTYHandle handle. More...
 
struct  UDPDataEvent
 UDPDataEvent event. More...
 
class  UDPHandle
 The UDPHandle handle. More...
 
class  UnderlyingType
 Wrapper class for underlying types. More...
 
struct  Utilities
 Miscellaneous utilities. More...
 
struct  UtsName
 Utility class. More...
 
struct  WinSize
 Windows size representation. More...
 
struct  WorkEvent
 WorkEvent event. More...
 
class  WorkReq
 The WorkReq request. More...
 
struct  WriteEvent
 WriteEvent event. 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.
 
template<class... Func>
 Overloaded (Func...) -> Overloaded< Func... >
 Deduction guide.
 

Variables

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

Detailed Description

uvw default namespace.

Typedef Documentation

◆ FileHandle

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

Utility class that wraps an internal file handle.

Definition at line 205 of file util.h.

◆ Gid

using uvw::Gid = uv_gid_t

Library equivalent for uv_gid_t.

Definition at line 218 of file util.h.

◆ HandleCategory

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

Utility class that wraps an internal handle type.

Definition at line 204 of file util.h.

◆ HandleType

using uvw::HandleType = details::UVHandleType

The type of a handle.

Definition at line 202 of file util.h.

◆ OSFileDescriptor

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

Utility class that wraps an os file descriptor.

Definition at line 207 of file util.h.

◆ OSSocketHandle

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

Utility class that wraps an os socket handle.

Definition at line 206 of file util.h.

◆ PidType

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

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

Definition at line 208 of file util.h.

◆ RUsage

using uvw::RUsage = uv_rusage_t

Library equivalent for uv_rusage_t.

Definition at line 222 of file util.h.

◆ Stat

using uvw::Stat = uv_stat_t

Library equivalent for uv_stat_t.

Definition at line 215 of file util.h.

◆ Statfs

using uvw::Statfs = uv_statfs_t

Library equivalent for uv_statfs_t.

Definition at line 216 of file util.h.

◆ TimeSpec

using uvw::TimeSpec = uv_timespec_t

Library equivalent for uv_timespec_t.

Definition at line 214 of file util.h.

◆ TimeVal

using uvw::TimeVal = uv_timeval_t

Library equivalent for uv_timeval_t.

Definition at line 220 of file util.h.

◆ TimeVal64

using uvw::TimeVal64 = uv_timeval64_t

Library equivalent for uv_timeval64_t.

Definition at line 221 of file util.h.

◆ Uid

using uvw::Uid = uv_uid_t

Library equivalent for uv_uid_t.

Definition at line 217 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 ( )
staticnodiscardconstexprnoexcept

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 54 of file type_info.hpp.

Variable Documentation

◆ StdERR

FileHandle uvw::StdERR {2}
constexpr

Placeholder for stderr descriptor.

Definition at line 212 of file util.h.

◆ StdIN

FileHandle uvw::StdIN {0}
constexpr

Placeholder for stdin descriptor.

Definition at line 210 of file util.h.

◆ StdOUT

FileHandle uvw::StdOUT {1}
constexpr

Placeholder for stdout descriptor.

Definition at line 211 of file util.h.