LLDB mainline
|
#include <Event.h>
Public Member Functions | |
EventDataBytes () | |
EventDataBytes (llvm::StringRef str) | |
~EventDataBytes () override | |
llvm::StringRef | GetFlavor () const override |
void | Dump (Stream *s) const override |
const void * | GetBytes () const |
size_t | GetByteSize () 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 const EventDataBytes * | GetEventDataFromEvent (const Event *event_ptr) |
static const void * | GetBytesFromEvent (const Event *event_ptr) |
static size_t | GetByteSizeFromEvent (const Event *event_ptr) |
static llvm::StringRef | GetFlavorString () |
Private Member Functions | |
EventDataBytes (const EventDataBytes &)=delete | |
const EventDataBytes & | operator= (const EventDataBytes &)=delete |
Private Attributes | |
std::string | m_bytes |
|
overridedefault |
|
privatedelete |
|
overridevirtual |
Reimplemented from lldb_private::EventData.
Definition at line 130 of file Event.cpp.
References lldb_private::Stream::Format(), and m_bytes.
const void * EventDataBytes::GetBytes | ( | ) | const |
Definition at line 140 of file Event.cpp.
References m_bytes.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), and GetBytesFromEvent().
|
static |
Definition at line 146 of file Event.cpp.
References GetBytes(), and GetEventDataFromEvent().
Referenced by lldb_private::Debugger::DefaultEventHandler(), and lldb::SBEvent::GetCStringFromEvent().
size_t EventDataBytes::GetByteSize | ( | ) | const |
Definition at line 144 of file Event.cpp.
References m_bytes.
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), and GetByteSizeFromEvent().
|
static |
Definition at line 153 of file Event.cpp.
References GetByteSize(), and GetEventDataFromEvent().
|
static |
Definition at line 161 of file Event.cpp.
References lldb_private::Event::GetData(), lldb_private::EventData::GetFlavor(), and GetFlavorString().
Referenced by lldb_private::process_gdb_remote::ProcessGDBRemote::AsyncThread(), GetBytesFromEvent(), and GetByteSizeFromEvent().
|
overridevirtual |
Implements lldb_private::EventData.
Definition at line 126 of file Event.cpp.
References GetFlavorString().
|
static |
Definition at line 124 of file Event.cpp.
Referenced by GetEventDataFromEvent(), and GetFlavor().
|
privatedelete |
|
private |
Definition at line 97 of file Event.h.
Referenced by Dump(), GetBytes(), and GetByteSize().