LLDB mainline
|
#include <IOObject.h>
Public Types | |
enum | FDType { eFDTypeFile , eFDTypeSocket } |
typedef int | WaitableHandle |
Public Member Functions | |
IOObject (FDType type) | |
virtual | ~IOObject () |
virtual Status | Read (void *buf, size_t &num_bytes)=0 |
virtual Status | Write (const void *buf, size_t &num_bytes)=0 |
virtual bool | IsValid () const =0 |
virtual Status | Close ()=0 |
FDType | GetFdType () const |
virtual WaitableHandle | GetWaitableHandle ()=0 |
Static Public Attributes | |
static const WaitableHandle | kInvalidHandleValue = -1 |
Protected Attributes | |
FDType | m_fd_type |
Private Member Functions | |
IOObject (const IOObject &)=delete | |
const IOObject & | operator= (const IOObject &)=delete |
Definition at line 20 of file IOObject.h.
typedef int lldb_private::IOObject::WaitableHandle |
Definition at line 29 of file IOObject.h.
Enumerator | |
---|---|
eFDTypeFile | |
eFDTypeSocket |
Definition at line 22 of file IOObject.h.
|
inline |
Definition at line 32 of file IOObject.h.
|
virtualdefault |
|
privatedelete |
|
pure virtual |
Implemented in lldb_private::File, lldb_private::NativeFile, lldb_private::SerialPort, and lldb_private::Socket.
|
inline |
Definition at line 40 of file IOObject.h.
References m_fd_type.
|
pure virtual |
Implemented in lldb_private::File, lldb_private::NativeFile, and lldb_private::Socket.
|
pure virtual |
Implemented in lldb_private::TCPSocket, lldb_private::File, lldb_private::NativeFile, lldb_private::SerialPort, and lldb_private::Socket.
|
pure virtual |
Implemented in lldb_private::File, lldb_private::NativeFile, and lldb_private::Socket.
|
pure virtual |
Implemented in lldb_private::File, lldb_private::NativeFile, and lldb_private::Socket.
|
static |
Definition at line 30 of file IOObject.h.
Referenced by lldb_private::ConnectionFileDescriptor::BytesAvailable(), and lldb_private::File::GetWaitableHandle().
|
protected |
Definition at line 45 of file IOObject.h.
Referenced by GetFdType().