LLDB  mainline
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)=0
 
template<typename Ret >
Ret ErrorWithMessage (llvm::StringRef caller_name, llvm::StringRef error_msg, Status &error, uint32_t log_caterogy=LIBLLDB_LOG_PROCESS)
 
template<typename T = StructuredData::ObjectSP>
bool CheckStructuredDataObject (llvm::StringRef caller, T obj, Status &error)
 

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 45 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 
)
pure virtual

◆ ErrorWithMessage()

template<typename Ret >
Ret lldb_private::ScriptedInterface::ErrorWithMessage ( llvm::StringRef  caller_name,
llvm::StringRef  error_msg,
Status error,
uint32_t  log_caterogy = LIBLLDB_LOG_PROCESS 
)
inline

Member Data Documentation

◆ m_object_instance_sp

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

Definition at line 71 of file ScriptedInterface.h.


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