LLDB  mainline
Public Member Functions | Friends | List of all members
lldb_private::Event Class Reference

#include <Event.h>

Public Member Functions

 Event (Broadcaster *broadcaster, uint32_t event_type, EventData *data=nullptr)
 
 Event (Broadcaster *broadcaster, uint32_t event_type, const lldb::EventDataSP &event_data_sp)
 
 Event (uint32_t event_type, EventData *data=nullptr)
 
 Event (uint32_t event_type, const lldb::EventDataSP &event_data_sp)
 
 ~Event ()
 
void Dump (Stream *s) const
 
EventDataGetData ()
 
const EventDataGetData () const
 
void SetData (EventData *new_data)
 
uint32_t GetType () const
 
void SetType (uint32_t new_type)
 
BroadcasterGetBroadcaster () const
 
bool BroadcasterIs (Broadcaster *broadcaster)
 
void Clear ()
 

Friends

class Listener
 
class EventData
 
class Broadcaster::BroadcasterImpl
 

Detailed Description

Definition at line 178 of file Event.h.

Constructor & Destructor Documentation

◆ Event() [1/4]

Event::Event ( Broadcaster broadcaster,
uint32_t  event_type,
EventData data = nullptr 
)

Definition at line 30 of file Event.cpp.

References lldb_private::Broadcaster::GetBroadcasterImpl().

◆ Event() [2/4]

lldb_private::Event::Event ( Broadcaster broadcaster,
uint32_t  event_type,
const lldb::EventDataSP &  event_data_sp 
)

◆ Event() [3/4]

Event::Event ( uint32_t  event_type,
EventData data = nullptr 
)

Definition at line 39 of file Event.cpp.

References ~Event().

◆ Event() [4/4]

lldb_private::Event::Event ( uint32_t  event_type,
const lldb::EventDataSP &  event_data_sp 
)

◆ ~Event()

Event::~Event ( )
default

Referenced by Event().

Member Function Documentation

◆ BroadcasterIs()

bool lldb_private::Event::BroadcasterIs ( Broadcaster broadcaster)
inline

Definition at line 217 of file Event.h.

Referenced by lldb::SBEvent::BroadcasterMatchesRef().

◆ Clear()

void lldb_private::Event::Clear ( )
inline

◆ Dump()

void Event::Dump ( Stream s) const

◆ GetBroadcaster()

Broadcaster* lldb_private::Event::GetBroadcaster ( ) const
inline

Definition at line 208 of file Event.h.

Referenced by lldb::SBEvent::GetBroadcaster(), and lldb::SBEvent::GetBroadcasterClass().

◆ GetData() [1/2]

EventData* lldb_private::Event::GetData ( )
inline

◆ GetData() [2/2]

const EventData* lldb_private::Event::GetData ( ) const
inline

Definition at line 200 of file Event.h.

◆ GetType()

uint32_t lldb_private::Event::GetType ( ) const
inline

Definition at line 204 of file Event.h.

Referenced by lldb::SBEvent::GetType().

◆ SetData()

void lldb_private::Event::SetData ( EventData new_data)
inline

Definition at line 202 of file Event.h.

◆ SetType()

void lldb_private::Event::SetType ( uint32_t  new_type)
inline

Definition at line 206 of file Event.h.

Friends And Related Function Documentation

◆ Broadcaster::BroadcasterImpl

friend class Broadcaster::BroadcasterImpl
friend

Definition at line 181 of file Event.h.

◆ EventData

friend class EventData
friend

Definition at line 180 of file Event.h.

◆ Listener

friend class Listener
friend

Definition at line 179 of file Event.h.


The documentation for this class was generated from the following files: