LLDB mainline
lldb_private::MainLoopBase::CallbackEntry Struct Reference

#include <MainLoopBase.h>

Public Member Functions

 CallbackEntry (TimePoint tp, Callback cb, uint64_t seq)
bool operator< (const CallbackEntry &other) const
 Sort using the >(!) operator to create a min-priority queue.

Public Attributes

TimePoint time_point
Callback callback

Private Attributes

uint64_t sequence

Detailed Description

Definition at line 106 of file MainLoopBase.h.

Constructor & Destructor Documentation

◆ CallbackEntry()

lldb_private::MainLoopBase::CallbackEntry::CallbackEntry ( TimePoint tp,
Callback cb,
uint64_t seq )
inline

Definition at line 110 of file MainLoopBase.h.

References callback, sequence, and time_point.

Referenced by operator<().

Member Function Documentation

◆ operator<()

bool lldb_private::MainLoopBase::CallbackEntry::operator< ( const CallbackEntry & other) const
inline

Sort using the >(!) operator to create a min-priority queue.

Definition at line 114 of file MainLoopBase.h.

References CallbackEntry(), sequence, and time_point.

Member Data Documentation

◆ callback

Callback lldb_private::MainLoopBase::CallbackEntry::callback

Definition at line 108 of file MainLoopBase.h.

Referenced by CallbackEntry().

◆ sequence

uint64_t lldb_private::MainLoopBase::CallbackEntry::sequence
private

Definition at line 120 of file MainLoopBase.h.

Referenced by CallbackEntry(), and operator<().

◆ time_point

TimePoint lldb_private::MainLoopBase::CallbackEntry::time_point

Definition at line 107 of file MainLoopBase.h.

Referenced by CallbackEntry(), and operator<().


The documentation for this struct was generated from the following file: