1 //===-- SBEvent.h -----------------------------------------------*- C++ -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
10 #ifndef LLDB_SBEvent_h_
11 #define LLDB_SBEvent_h_
13 #include "lldb/API/SBDefines.h"
28 SBEvent (const lldb::SBEvent &rhs);
30 // Make an event that contains a C string.
31 SBEvent (uint32_t event, const char *cstr, uint32_t cstr_len);
36 operator = (const lldb::SBEvent &rhs);
48 GetBroadcaster () const;
51 GetBroadcasterClass () const;
54 BroadcasterMatchesPtr (const lldb::SBBroadcaster *broadcaster);
57 BroadcasterMatchesRef (const lldb::SBBroadcaster &broadcaster);
63 GetCStringFromEvent (const lldb::SBEvent &event);
66 GetDescription (lldb::SBStream &description);
69 GetDescription (lldb::SBStream &description) const;
72 friend class SBListener;
73 friend class SBBroadcaster;
74 friend class SBBreakpoint;
75 friend class SBDebugger;
76 friend class SBProcess;
77 friend class SBThread;
78 friend class SBWatchpoint;
80 SBEvent (lldb::EventSP &event_sp);
86 reset (lldb::EventSP &event_sp);
89 reset (lldb_private::Event* event);
96 mutable lldb::EventSP m_event_sp;
97 mutable lldb_private::Event *m_opaque_ptr;
102 #endif // LLDB_SBEvent_h_