LLDB  mainline
Public Member Functions | List of all members
lldb_private::PipeBase Class Referenceabstract

#include <PipeBase.h>

Inheritance diagram for lldb_private::PipeBase:
Inheritance graph
[legend]

Public Member Functions

virtual ~PipeBase ()
 
virtual Status CreateNew (bool child_process_inherit)=0
 
virtual Status CreateNew (llvm::StringRef name, bool child_process_inherit)=0
 
virtual Status CreateWithUniqueName (llvm::StringRef prefix, bool child_process_inherit, llvm::SmallVectorImpl< char > &name)=0
 
virtual Status OpenAsReader (llvm::StringRef name, bool child_process_inherit)=0
 
Status OpenAsWriter (llvm::StringRef name, bool child_process_inherit)
 
virtual Status OpenAsWriterWithTimeout (llvm::StringRef name, bool child_process_inherit, const std::chrono::microseconds &timeout)=0
 
virtual bool CanRead () const =0
 
virtual bool CanWrite () const =0
 
virtual lldb::pipe_t GetReadPipe () const =0
 
virtual lldb::pipe_t GetWritePipe () const =0
 
virtual int GetReadFileDescriptor () const =0
 
virtual int GetWriteFileDescriptor () const =0
 
virtual int ReleaseReadFileDescriptor ()=0
 
virtual int ReleaseWriteFileDescriptor ()=0
 
virtual void CloseReadFileDescriptor ()=0
 
virtual void CloseWriteFileDescriptor ()=0
 
virtual void Close ()=0
 
virtual Status Delete (llvm::StringRef name)=0
 
virtual Status Write (const void *buf, size_t size, size_t &bytes_written)=0
 
virtual Status ReadWithTimeout (void *buf, size_t size, const std::chrono::microseconds &timeout, size_t &bytes_read)=0
 
Status Read (void *buf, size_t size, size_t &bytes_read)
 

Detailed Description

Definition at line 21 of file PipeBase.h.

Constructor & Destructor Documentation

◆ ~PipeBase()

PipeBase::~PipeBase ( )
virtualdefault

Member Function Documentation

◆ CanRead()

virtual bool lldb_private::PipeBase::CanRead ( ) const
pure virtual

Implemented in lldb_private::PipeWindows.

◆ CanWrite()

virtual bool lldb_private::PipeBase::CanWrite ( ) const
pure virtual

Implemented in lldb_private::PipeWindows.

◆ Close()

virtual void lldb_private::PipeBase::Close ( )
pure virtual

Implemented in lldb_private::PipeWindows.

◆ CloseReadFileDescriptor()

virtual void lldb_private::PipeBase::CloseReadFileDescriptor ( )
pure virtual

Implemented in lldb_private::PipeWindows.

◆ CloseWriteFileDescriptor()

virtual void lldb_private::PipeBase::CloseWriteFileDescriptor ( )
pure virtual

Implemented in lldb_private::PipeWindows.

◆ CreateNew() [1/2]

virtual Status lldb_private::PipeBase::CreateNew ( bool  child_process_inherit)
pure virtual

Implemented in lldb_private::PipeWindows.

◆ CreateNew() [2/2]

virtual Status lldb_private::PipeBase::CreateNew ( llvm::StringRef  name,
bool  child_process_inherit 
)
pure virtual

Implemented in lldb_private::PipeWindows.

◆ CreateWithUniqueName()

virtual Status lldb_private::PipeBase::CreateWithUniqueName ( llvm::StringRef  prefix,
bool  child_process_inherit,
llvm::SmallVectorImpl< char > &  name 
)
pure virtual

Implemented in lldb_private::PipeWindows.

◆ Delete()

virtual Status lldb_private::PipeBase::Delete ( llvm::StringRef  name)
pure virtual

Implemented in lldb_private::PipeWindows.

◆ GetReadFileDescriptor()

virtual int lldb_private::PipeBase::GetReadFileDescriptor ( ) const
pure virtual

Implemented in lldb_private::PipeWindows.

◆ GetReadPipe()

virtual lldb::pipe_t lldb_private::PipeBase::GetReadPipe ( ) const
pure virtual

Implemented in lldb_private::PipeWindows.

◆ GetWriteFileDescriptor()

virtual int lldb_private::PipeBase::GetWriteFileDescriptor ( ) const
pure virtual

Implemented in lldb_private::PipeWindows.

◆ GetWritePipe()

virtual lldb::pipe_t lldb_private::PipeBase::GetWritePipe ( ) const
pure virtual

Implemented in lldb_private::PipeWindows.

◆ OpenAsReader()

virtual Status lldb_private::PipeBase::OpenAsReader ( llvm::StringRef  name,
bool  child_process_inherit 
)
pure virtual

Implemented in lldb_private::PipeWindows.

◆ OpenAsWriter()

Status PipeBase::OpenAsWriter ( llvm::StringRef  name,
bool  child_process_inherit 
)

Definition at line 15 of file PipeBase.cpp.

References OpenAsWriterWithTimeout().

◆ OpenAsWriterWithTimeout()

virtual Status lldb_private::PipeBase::OpenAsWriterWithTimeout ( llvm::StringRef  name,
bool  child_process_inherit,
const std::chrono::microseconds &  timeout 
)
pure virtual

Implemented in lldb_private::PipeWindows.

Referenced by OpenAsWriter().

◆ Read()

Status PipeBase::Read ( void *  buf,
size_t  size,
size_t &  bytes_read 
)

Definition at line 21 of file PipeBase.cpp.

References ReadWithTimeout().

◆ ReadWithTimeout()

virtual Status lldb_private::PipeBase::ReadWithTimeout ( void *  buf,
size_t  size,
const std::chrono::microseconds &  timeout,
size_t &  bytes_read 
)
pure virtual

Implemented in lldb_private::PipeWindows.

Referenced by Read().

◆ ReleaseReadFileDescriptor()

virtual int lldb_private::PipeBase::ReleaseReadFileDescriptor ( )
pure virtual

Implemented in lldb_private::PipeWindows.

◆ ReleaseWriteFileDescriptor()

virtual int lldb_private::PipeBase::ReleaseWriteFileDescriptor ( )
pure virtual

Implemented in lldb_private::PipeWindows.

◆ Write()

virtual Status lldb_private::PipeBase::Write ( const void *  buf,
size_t  size,
size_t &  bytes_written 
)
pure virtual

Implemented in lldb_private::PipeWindows.


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