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

#include <ScriptedThreadInterface.h>

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

Public Member Functions

virtual llvm::Expected< StructuredData::GenericSPCreatePluginObject (llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr)=0
 
virtual lldb::tid_t GetThreadID ()
 
virtual std::optional< std::string > GetName ()
 
virtual lldb::StateType GetState ()
 
virtual std::optional< std::string > GetQueue ()
 
virtual StructuredData::DictionarySP GetStopReason ()
 
virtual StructuredData::ArraySP GetStackFrames ()
 
virtual StructuredData::DictionarySP GetRegisterInfo ()
 
virtual std::optional< std::string > GetRegisterContext ()
 
virtual StructuredData::ArraySP GetExtendedInfo ()
 
- Public Member Functions inherited from lldb_private::ScriptedInterface
 ScriptedInterface ()=default
 
virtual ~ScriptedInterface ()=default
 
StructuredData::GenericSP GetScriptObjectInstance ()
 
virtual llvm::SmallVector< llvm::StringLiteral > GetAbstractMethods () const =0
 
template<typename T = StructuredData::ObjectSP>
bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
 

Additional Inherited Members

- Static Public Member Functions inherited from lldb_private::ScriptedInterface
template<typename Ret >
static Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, LLDBLog log_caterogy=LLDBLog::Process)
 
- Protected Attributes inherited from lldb_private::ScriptedInterface
StructuredData::GenericSP m_object_instance_sp
 

Detailed Description

Definition at line 21 of file ScriptedThreadInterface.h.

Member Function Documentation

◆ CreatePluginObject()

virtual llvm::Expected< StructuredData::GenericSP > lldb_private::ScriptedThreadInterface::CreatePluginObject ( llvm::StringRef  class_name,
ExecutionContext exe_ctx,
StructuredData::DictionarySP  args_sp,
StructuredData::Generic script_obj = nullptr 
)
pure virtual

◆ GetExtendedInfo()

virtual StructuredData::ArraySP lldb_private::ScriptedThreadInterface::GetExtendedInfo ( )
inlinevirtual

Definition at line 46 of file ScriptedThreadInterface.h.

◆ GetName()

virtual std::optional< std::string > lldb_private::ScriptedThreadInterface::GetName ( )
inlinevirtual

Definition at line 30 of file ScriptedThreadInterface.h.

◆ GetQueue()

virtual std::optional< std::string > lldb_private::ScriptedThreadInterface::GetQueue ( )
inlinevirtual

Definition at line 34 of file ScriptedThreadInterface.h.

◆ GetRegisterContext()

virtual std::optional< std::string > lldb_private::ScriptedThreadInterface::GetRegisterContext ( )
inlinevirtual

Definition at line 42 of file ScriptedThreadInterface.h.

◆ GetRegisterInfo()

virtual StructuredData::DictionarySP lldb_private::ScriptedThreadInterface::GetRegisterInfo ( )
inlinevirtual

Definition at line 40 of file ScriptedThreadInterface.h.

◆ GetStackFrames()

virtual StructuredData::ArraySP lldb_private::ScriptedThreadInterface::GetStackFrames ( )
inlinevirtual

Definition at line 38 of file ScriptedThreadInterface.h.

◆ GetState()

virtual lldb::StateType lldb_private::ScriptedThreadInterface::GetState ( )
inlinevirtual

Definition at line 32 of file ScriptedThreadInterface.h.

References lldb::eStateInvalid.

◆ GetStopReason()

virtual StructuredData::DictionarySP lldb_private::ScriptedThreadInterface::GetStopReason ( )
inlinevirtual

Definition at line 36 of file ScriptedThreadInterface.h.

◆ GetThreadID()

virtual lldb::tid_t lldb_private::ScriptedThreadInterface::GetThreadID ( )
inlinevirtual

Definition at line 28 of file ScriptedThreadInterface.h.

References LLDB_INVALID_THREAD_ID.


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