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

#include <ScriptedPlatformInterface.h>

Inheritance diagram for lldb_private::ScriptedPlatformInterface:
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 StructuredData::DictionarySP ListProcesses ()
 
virtual StructuredData::DictionarySP GetProcessInfo (lldb::pid_t)
 
virtual Status AttachToProcess (lldb::ProcessAttachInfoSP attach_info)
 
virtual Status LaunchProcess (lldb::ProcessLaunchInfoSP launch_info)
 
virtual Status KillProcess (lldb::pid_t pid)
 
- Public Member Functions inherited from lldb_private::ScriptedInterface
 ScriptedInterface ()=default
 
virtual ~ScriptedInterface ()=default
 
StructuredData::GenericSP GetScriptObjectInstance ()
 
virtual llvm::SmallVector< llvm::StringLiteral > GetAbstractMethods () const =0
 

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)
 
template<typename T = StructuredData::ObjectSP>
static bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
 
static bool CreateInstance (lldb::ScriptLanguage language, ScriptedInterfaceUsages usages)
 
- Protected Attributes inherited from lldb_private::ScriptedInterface
StructuredData::GenericSP m_object_instance_sp
 

Detailed Description

Definition at line 20 of file ScriptedPlatformInterface.h.

Member Function Documentation

◆ AttachToProcess()

virtual Status lldb_private::ScriptedPlatformInterface::AttachToProcess ( lldb::ProcessAttachInfoSP  attach_info)
inlinevirtual

Definition at line 33 of file ScriptedPlatformInterface.h.

◆ CreatePluginObject()

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

◆ GetProcessInfo()

virtual StructuredData::DictionarySP lldb_private::ScriptedPlatformInterface::GetProcessInfo ( lldb::pid_t  )
inlinevirtual

Definition at line 29 of file ScriptedPlatformInterface.h.

◆ KillProcess()

virtual Status lldb_private::ScriptedPlatformInterface::KillProcess ( lldb::pid_t  pid)
inlinevirtual

Definition at line 41 of file ScriptedPlatformInterface.h.

◆ LaunchProcess()

virtual Status lldb_private::ScriptedPlatformInterface::LaunchProcess ( lldb::ProcessLaunchInfoSP  launch_info)
inlinevirtual

Definition at line 37 of file ScriptedPlatformInterface.h.

◆ ListProcesses()

virtual StructuredData::DictionarySP lldb_private::ScriptedPlatformInterface::ListProcesses ( )
inlinevirtual

Definition at line 27 of file ScriptedPlatformInterface.h.


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