16#ifndef LLDB_CORE_DEBUGGER_EVENTS_H
17#define LLDB_CORE_DEBUGGER_EVENTS_H
25 std::string details, uint64_t completed, uint64_t total,
26 bool debugger_specific)
33 llvm::StringRef
GetFlavor()
const override;
80 bool debugger_specific)
94 llvm::StringRef
GetFlavor()
const override;
117 llvm::StringRef
GetFlavor()
const override;
void Dump(Stream *s) const override
DiagnosticEventData(const DiagnosticEventData &)=delete
lldb::Severity m_severity
const DiagnosticEventData & operator=(const DiagnosticEventData &)=delete
static llvm::StringRef GetFlavorString()
const std::string & GetMessage() const
llvm::StringRef GetPrefix() const
~DiagnosticEventData() override=default
bool IsDebuggerSpecific() const
lldb::Severity GetSeverity() const
DiagnosticEventData(lldb::Severity severity, std::string message, bool debugger_specific)
static StructuredData::DictionarySP GetAsStructuredData(const Event *event_ptr)
const bool m_debugger_specific
static const DiagnosticEventData * GetEventDataFromEvent(const Event *event_ptr)
llvm::StringRef GetFlavor() const override
void Dump(Stream *s) const override
ProgressEventData(uint64_t progress_id, std::string title, std::string details, uint64_t completed, uint64_t total, bool debugger_specific)
llvm::StringRef GetFlavor() const override
static const ProgressEventData * GetEventDataFromEvent(const Event *event_ptr)
bool IsDebuggerSpecific() const
const ProgressEventData & operator=(const ProgressEventData &)=delete
static StructuredData::DictionarySP GetAsStructuredData(const Event *event_ptr)
uint64_t GetCompleted() const
std::string m_details
Details associated with this progress event update.
uint64_t GetTotal() const
static llvm::StringRef GetFlavorString()
const bool m_debugger_specific
const uint64_t m_id
Unique ID used to associate progress events.
const std::string & GetTitle() const
ProgressEventData(const ProgressEventData &)=delete
std::string m_title
The title of this progress event.
std::string GetMessage() const
const std::string & GetDetails() const
static constexpr uint64_t kNonDeterministicTotal
Used to indicate a non-deterministic progress report.
A stream class that can stream formatted output to a file.
std::shared_ptr< Dictionary > DictionarySP
static const SymbolChangeEventData * GetEventDataFromEvent(const Event *event_ptr)
const SymbolChangeEventData & operator=(const SymbolChangeEventData &)=delete
lldb::DebuggerWP m_debugger_wp
llvm::StringRef GetFlavor() const override
SymbolChangeEventData(const SymbolChangeEventData &)=delete
static llvm::StringRef GetFlavorString()
SymbolChangeEventData(lldb::DebuggerWP debugger_wp, ModuleSpec module_spec)
void DoOnRemoval(Event *event_ptr) override
A class that represents a running process on the host machine.
Severity
Used for expressing severity in logs and diagnostics.
std::weak_ptr< lldb_private::Debugger > DebuggerWP