LLDB mainline
|
#include <DebuggerEvents.h>
Public Member Functions | |
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 |
void | Dump (Stream *s) const override |
uint64_t | GetID () const |
bool | IsFinite () const |
uint64_t | GetCompleted () const |
uint64_t | GetTotal () const |
std::string | GetMessage () const |
const std::string & | GetTitle () const |
const std::string & | GetDetails () const |
bool | IsDebuggerSpecific () const |
Public Member Functions inherited from lldb_private::EventData | |
EventData () | |
virtual | ~EventData () |
virtual llvm::StringRef | GetFlavor () const =0 |
virtual Log * | GetLogChannel () |
virtual void | Dump (Stream *s) const |
Static Public Member Functions | |
static llvm::StringRef | GetFlavorString () |
static const ProgressEventData * | GetEventDataFromEvent (const Event *event_ptr) |
static StructuredData::DictionarySP | GetAsStructuredData (const Event *event_ptr) |
Private Member Functions | |
ProgressEventData (const ProgressEventData &)=delete | |
const ProgressEventData & | operator= (const ProgressEventData &)=delete |
Private Attributes | |
std::string | m_title |
The title of this progress event. | |
std::string | m_details |
Details associated with this progress event update. | |
const uint64_t | m_id |
Unique ID used to associate progress events. | |
uint64_t | m_completed |
const uint64_t | m_total |
const bool | m_debugger_specific |
Definition at line 22 of file DebuggerEvents.h.
|
inline |
Definition at line 24 of file DebuggerEvents.h.
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::EventData.
Definition at line 35 of file DebuggerEvents.cpp.
References lldb_private::Progress::kNonDeterministicTotal, m_completed, m_details, m_id, m_title, m_total, lldb_private::Stream::Printf(), and lldb_private::Stream::PutCString().
|
static |
Definition at line 55 of file DebuggerEvents.cpp.
References GetCompleted(), GetDetails(), GetEventDataFromEvent(), GetID(), GetMessage(), GetTitle(), GetTotal(), and IsDebuggerSpecific().
Referenced by lldb::SBDebugger::GetProgressDataFromEvent().
|
inline |
Definition at line 44 of file DebuggerEvents.h.
References m_completed.
Referenced by GetAsStructuredData(), and lldb::SBDebugger::GetProgressFromEvent().
|
inline |
Definition at line 55 of file DebuggerEvents.h.
References m_details.
Referenced by GetAsStructuredData().
|
static |
Definition at line 50 of file DebuggerEvents.cpp.
Referenced by GetAsStructuredData(), lldb::SBDebugger::GetProgressFromEvent(), and lldb_private::Debugger::HandleProgressEvent().
|
overridevirtual |
Implements lldb_private::EventData.
Definition at line 31 of file DebuggerEvents.cpp.
References GetFlavorString().
|
static |
Definition at line 27 of file DebuggerEvents.cpp.
Referenced by GetFlavor().
|
inline |
Definition at line 42 of file DebuggerEvents.h.
References m_id.
Referenced by GetAsStructuredData(), and lldb::SBDebugger::GetProgressFromEvent().
|
inline |
Definition at line 46 of file DebuggerEvents.h.
References m_details, and m_title.
Referenced by GetAsStructuredData(), and lldb::SBDebugger::GetProgressFromEvent().
|
inline |
Definition at line 54 of file DebuggerEvents.h.
References m_title.
Referenced by GetAsStructuredData().
|
inline |
Definition at line 45 of file DebuggerEvents.h.
References m_total.
Referenced by GetAsStructuredData(), and lldb::SBDebugger::GetProgressFromEvent().
|
inline |
Definition at line 56 of file DebuggerEvents.h.
References m_debugger_specific.
Referenced by GetAsStructuredData(), and lldb::SBDebugger::GetProgressFromEvent().
|
inline |
Definition at line 43 of file DebuggerEvents.h.
References lldb_private::Progress::kNonDeterministicTotal, and m_total.
|
privatedelete |
|
private |
Definition at line 70 of file DebuggerEvents.h.
Referenced by Dump(), and GetCompleted().
|
private |
Definition at line 72 of file DebuggerEvents.h.
Referenced by IsDebuggerSpecific().
|
private |
Details associated with this progress event update.
The value is expected to change between progress events.
Definition at line 65 of file DebuggerEvents.h.
Referenced by Dump(), GetDetails(), and GetMessage().
|
private |
Unique ID used to associate progress events.
Definition at line 68 of file DebuggerEvents.h.
|
private |
The title of this progress event.
The value is expected to remain stable for a given progress ID.
Definition at line 61 of file DebuggerEvents.h.
Referenced by Dump(), GetMessage(), and GetTitle().
|
private |
Definition at line 71 of file DebuggerEvents.h.
Referenced by Dump(), GetTotal(), and IsFinite().