LLDB mainline
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
lldb_private::ScriptedInterface Class Referenceabstract

#include <ScriptedInterface.h>

Inheritance diagram for lldb_private::ScriptedInterface:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::ScriptedInterface:
Collaboration graph
[legend]

Public Member Functions

 ScriptedInterface ()=default
 
virtual ~ScriptedInterface ()=default
 
virtual StructuredData::GenericSP CreatePluginObject (llvm::StringRef class_name, ExecutionContext &exe_ctx, StructuredData::DictionarySP args_sp, StructuredData::Generic *script_obj=nullptr)=0
 
StructuredData::GenericSP GetScriptObjectInstance ()
 
template<typename T = StructuredData::ObjectSP>
bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
 

Static Public Member Functions

template<typename Ret >
static Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, LLDBLog log_caterogy=LLDBLog::Process)
 

Protected Attributes

StructuredData::GenericSP m_object_instance_sp
 

Detailed Description

Definition at line 23 of file ScriptedInterface.h.

Constructor & Destructor Documentation

◆ ScriptedInterface()

lldb_private::ScriptedInterface::ScriptedInterface ( )
default

◆ ~ScriptedInterface()

virtual lldb_private::ScriptedInterface::~ScriptedInterface ( )
virtualdefault

Member Function Documentation

◆ CheckStructuredDataObject()

template<typename T = StructuredData::ObjectSP>
bool lldb_private::ScriptedInterface::CheckStructuredDataObject ( llvm::StringRef  caller,
obj,
Status error 
)
inline

Definition at line 57 of file ScriptedInterface.h.

References error().

◆ CreatePluginObject()

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

◆ ErrorWithMessage()

template<typename Ret >
static Ret lldb_private::ScriptedInterface::ErrorWithMessage ( llvm::StringRef  caller_name,
llvm::StringRef  error_msg,
Status error,
LLDBLog  log_caterogy = LLDBLog::Process 
)
inlinestatic

◆ GetScriptObjectInstance()

StructuredData::GenericSP lldb_private::ScriptedInterface::GetScriptObjectInstance ( )
inline

Member Data Documentation

◆ m_object_instance_sp

StructuredData::GenericSP lldb_private::ScriptedInterface::m_object_instance_sp
protected

Definition at line 74 of file ScriptedInterface.h.

Referenced by GetScriptObjectInstance().


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