27 : m_event_sp(new
Event(
29 m_opaque_ptr(m_event_sp.get()) {
34 : m_event_sp(event_sp), m_opaque_ptr(event_sp.get()) {
43 : m_event_sp(rhs.m_event_sp), m_opaque_ptr(rhs.m_opaque_ptr) {
75 uint32_t event_type = 0;
77 event_type = lldb_event->
GetType();
101 return "unknown class";
116 bool success =
false;
157 return this->
operator bool();
159SBEvent::operator bool()
const {
#define LLDB_INSTRUMENT_VA(...)
void reset(lldb_private::Broadcaster *broadcaster, bool owns)
lldb_private::Broadcaster * get() const
lldb_private::Event * m_opaque_ptr
const char * GetDataFlavor()
bool GetDescription(lldb::SBStream &description)
lldb_private::Event * get() const
bool BroadcasterMatchesPtr(const lldb::SBBroadcaster *broadcaster)
lldb::SBBroadcaster GetBroadcaster() const
bool BroadcasterMatchesRef(const lldb::SBBroadcaster &broadcaster)
const char * GetBroadcasterClass() const
void reset(lldb::EventSP &event_sp)
static const char * GetCStringFromEvent(const lldb::SBEvent &event)
const SBEvent & operator=(const lldb::SBEvent &rhs)
lldb::EventSP & GetSP() const
lldb_private::Stream & ref()
virtual llvm::StringRef GetBroadcasterClass() const
This needs to be filled in if you are going to register the broadcaster with the broadcaster manager ...
A uniqued constant string class.
const char * AsCString(const char *value_if_empty=nullptr) const
Get the string value as a C string.
const char * GetCString() const
Get the string value as a C string.
static const void * GetBytesFromEvent(const Event *event_ptr)
virtual llvm::StringRef GetFlavor() const =0
bool BroadcasterIs(Broadcaster *broadcaster)
void Dump(Stream *s) const
Broadcaster * GetBroadcaster() const
A stream class that can stream formatted output to a file.
size_t PutCString(llvm::StringRef cstr)
Output a C string to the stream.
A class that represents a running process on the host machine.
std::shared_ptr< lldb_private::Event > EventSP