LLDB mainline
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
lldb_private::EventDataReceipt Class Reference

#include <Event.h>

Inheritance diagram for lldb_private::EventDataReceipt:
Inheritance graph
[legend]

Public Member Functions

 EventDataReceipt ()
 
 ~EventDataReceipt () override=default
 
llvm::StringRef GetFlavor () const override
 
bool WaitForEventReceived (const Timeout< std::micro > &timeout=std::nullopt)
 
- Public Member Functions inherited from lldb_private::EventData
 EventData ()
 
virtual ~EventData ()
 
virtual llvm::StringRef GetFlavor () const =0
 
virtual LogGetLogChannel ()
 
virtual void Dump (Stream *s) const
 

Static Public Member Functions

static llvm::StringRef GetFlavorString ()
 

Private Member Functions

void DoOnRemoval (Event *event_ptr) override
 

Private Attributes

Predicate< bool > m_predicate
 

Detailed Description

Definition at line 103 of file Event.h.

Constructor & Destructor Documentation

◆ EventDataReceipt()

lldb_private::EventDataReceipt::EventDataReceipt ( )
inline

Definition at line 105 of file Event.h.

◆ ~EventDataReceipt()

lldb_private::EventDataReceipt::~EventDataReceipt ( )
overridedefault

Member Function Documentation

◆ DoOnRemoval()

void lldb_private::EventDataReceipt::DoOnRemoval ( Event event_ptr)
inlineoverrideprivatevirtual

◆ GetFlavor()

llvm::StringRef lldb_private::EventDataReceipt::GetFlavor ( ) const
inlineoverridevirtual

Implements lldb_private::EventData.

Definition at line 111 of file Event.h.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef EventDataReceipt::GetFlavorString ( )
static

Definition at line 171 of file Event.cpp.

Referenced by GetFlavor().

◆ WaitForEventReceived()

bool lldb_private::EventDataReceipt::WaitForEventReceived ( const Timeout< std::micro > &  timeout = std::nullopt)
inline

Definition at line 113 of file Event.h.

References m_predicate, and lldb_private::Predicate< T >::WaitForValueEqualTo().

Member Data Documentation

◆ m_predicate

Predicate<bool> lldb_private::EventDataReceipt::m_predicate
private

Definition at line 118 of file Event.h.

Referenced by DoOnRemoval(), and WaitForEventReceived().


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