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

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 92 of file Event.h.

Constructor & Destructor Documentation

◆ EventDataReceipt()

lldb_private::EventDataReceipt::EventDataReceipt ( )

Definition at line 94 of file Event.h.

◆ ~EventDataReceipt()

lldb_private::EventDataReceipt::~EventDataReceipt ( )

Member Function Documentation

◆ DoOnRemoval()

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

◆ GetFlavor()

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

Implements lldb_private::EventData.

Definition at line 100 of file Event.h.

References GetFlavorString().

◆ GetFlavorString()

llvm::StringRef EventDataReceipt::GetFlavorString ( )

Definition at line 165 of file Event.cpp.

Referenced by GetFlavor().

◆ WaitForEventReceived()

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

Definition at line 102 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

Definition at line 107 of file Event.h.

Referenced by DoOnRemoval(), and WaitForEventReceived().

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