LLDB  mainline
Classes | Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | List of all members
lldb_private::MainLoopBase Class Reference

#include <MainLoopBase.h>

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

Classes

class  ReadHandle
 

Public Types

typedef std::unique_ptr< ReadHandleReadHandleUP
 
typedef std::function< void(MainLoopBase &)> Callback
 

Public Member Functions

 MainLoopBase ()=default
 
virtual ~MainLoopBase ()=default
 
virtual ReadHandleUP RegisterReadObject (const lldb::IOObjectSP &object_sp, const Callback &callback, Status &error)
 
virtual Status Run ()
 
virtual void RequestTermination ()
 

Protected Member Functions

ReadHandleUP CreateReadHandle (const lldb::IOObjectSP &object_sp)
 
virtual void UnregisterReadObject (IOObject::WaitableHandle handle)
 

Private Member Functions

 MainLoopBase (const MainLoopBase &)=delete
 
const MainLoopBaseoperator= (const MainLoopBase &)=delete
 

Detailed Description

Definition at line 31 of file MainLoopBase.h.

Member Typedef Documentation

◆ Callback

typedef std::function<void(MainLoopBase &)> lldb_private::MainLoopBase::Callback

Definition at line 41 of file MainLoopBase.h.

◆ ReadHandleUP

Definition at line 39 of file MainLoopBase.h.

Constructor & Destructor Documentation

◆ MainLoopBase() [1/2]

lldb_private::MainLoopBase::MainLoopBase ( )
default

◆ ~MainLoopBase()

virtual lldb_private::MainLoopBase::~MainLoopBase ( )
virtualdefault

◆ MainLoopBase() [2/2]

lldb_private::MainLoopBase::MainLoopBase ( const MainLoopBase )
privatedelete

Member Function Documentation

◆ CreateReadHandle()

ReadHandleUP lldb_private::MainLoopBase::CreateReadHandle ( const lldb::IOObjectSP &  object_sp)
inlineprotected

Definition at line 57 of file MainLoopBase.h.

◆ operator=()

const MainLoopBase& lldb_private::MainLoopBase::operator= ( const MainLoopBase )
privatedelete

◆ RegisterReadObject()

virtual ReadHandleUP lldb_private::MainLoopBase::RegisterReadObject ( const lldb::IOObjectSP &  object_sp,
const Callback callback,
Status error 
)
inlinevirtual

Reimplemented in lldb_private::MainLoop.

Definition at line 43 of file MainLoopBase.h.

◆ RequestTermination()

virtual void lldb_private::MainLoopBase::RequestTermination ( )
inlinevirtual

Reimplemented in lldb_private::MainLoop.

Definition at line 54 of file MainLoopBase.h.

◆ Run()

virtual Status lldb_private::MainLoopBase::Run ( )
inlinevirtual

Reimplemented in lldb_private::MainLoop.

Definition at line 51 of file MainLoopBase.h.

◆ UnregisterReadObject()

virtual void lldb_private::MainLoopBase::UnregisterReadObject ( IOObject::WaitableHandle  handle)
inlineprotectedvirtual

Reimplemented in lldb_private::MainLoop.

Definition at line 61 of file MainLoopBase.h.

Referenced by lldb_private::MainLoopBase::ReadHandle::~ReadHandle().


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