Apache Mesos
Public Types | Public Member Functions | List of all members
os::WindowsFD Class Reference

#include <fd.hpp>

Public Types

enum  Type { FD_CRT, FD_HANDLE, FD_SOCKET }
 

Public Member Functions

 WindowsFD ()=default
 
 WindowsFD (int crt)
 
 WindowsFD (HANDLE handle)
 
 WindowsFD (SOCKET socket)
 
 WindowsFD (intptr_t socket)
 
 WindowsFD (const WindowsFD &)=default
 
 WindowsFD (WindowsFD &&)=default
 
 ~WindowsFD ()=default
 
WindowsFDoperator= (const WindowsFD &)=default
 
WindowsFDoperator= (WindowsFD &&)=default
 
int crt () const
 
 operator HANDLE () const
 
 operator SOCKET () const
 
 operator intptr_t () const
 
Type type () const
 

Member Enumeration Documentation

Enumerator
FD_CRT 
FD_HANDLE 
FD_SOCKET 

Constructor & Destructor Documentation

os::WindowsFD::WindowsFD ( )
default
os::WindowsFD::WindowsFD ( int  crt)
inline
os::WindowsFD::WindowsFD ( HANDLE  handle)
inline
os::WindowsFD::WindowsFD ( SOCKET  socket)
inline
os::WindowsFD::WindowsFD ( intptr_t  socket)
inline
os::WindowsFD::WindowsFD ( const WindowsFD )
default
os::WindowsFD::WindowsFD ( WindowsFD &&  )
default
os::WindowsFD::~WindowsFD ( )
default

Member Function Documentation

int os::WindowsFD::crt ( ) const
inline
os::WindowsFD::operator HANDLE ( ) const
inline
os::WindowsFD::operator intptr_t ( ) const
inline
os::WindowsFD::operator SOCKET ( ) const
inline
WindowsFD& os::WindowsFD::operator= ( const WindowsFD )
default
WindowsFD& os::WindowsFD::operator= ( WindowsFD &&  )
default
Type os::WindowsFD::type ( ) const
inline

Member Data Documentation

int os::WindowsFD::crt_
HANDLE os::WindowsFD::handle_
SOCKET os::WindowsFD::socket_

The documentation for this class was generated from the following file: