LLDB mainline
Classes | Public Types | Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
lldb_private::ThreadPlanShouldStopHere Class Referenceabstract

#include <ThreadPlanShouldStopHere.h>

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

Classes

struct  ThreadPlanShouldStopHereCallbacks
 

Public Types

enum  { eNone = 0 , eAvoidInlines = (1 << 0) , eStepInAvoidNoDebug = (1 << 1) , eStepOutAvoidNoDebug = (1 << 2) }
 

Public Member Functions

 ThreadPlanShouldStopHere (ThreadPlan *owner)
 
 ThreadPlanShouldStopHere (ThreadPlan *owner, const ThreadPlanShouldStopHereCallbacks *callbacks, void *baton=nullptr)
 
virtual ~ThreadPlanShouldStopHere ()
 
void SetShouldStopHereCallbacks (const ThreadPlanShouldStopHereCallbacks *callbacks, void *baton)
 
void ClearShouldStopHereCallbacks ()
 
bool InvokeShouldStopHereCallback (lldb::FrameComparison operation, Status &status)
 
lldb::ThreadPlanSP CheckShouldStopHereAndQueueStepOut (lldb::FrameComparison operation, Status &status)
 
lldb_private::FlagsGetFlags ()
 
const lldb_private::FlagsGetFlags () const
 

Protected Member Functions

virtual lldb::ThreadPlanSP QueueStepOutFromHerePlan (Flags &flags, lldb::FrameComparison operation, Status &status)
 
virtual void SetFlagsToDefault ()=0
 

Static Protected Member Functions

static bool DefaultShouldStopHereCallback (ThreadPlan *current_plan, Flags &flags, lldb::FrameComparison operation, Status &status, void *baton)
 
static lldb::ThreadPlanSP DefaultStepFromHereCallback (ThreadPlan *current_plan, Flags &flags, lldb::FrameComparison operation, Status &status, void *baton)
 

Protected Attributes

ThreadPlanShouldStopHereCallbacks m_callbacks
 
void * m_baton
 
ThreadPlanm_owner
 
lldb_private::Flags m_flags
 

Private Member Functions

 ThreadPlanShouldStopHere (const ThreadPlanShouldStopHere &)=delete
 
const ThreadPlanShouldStopHereoperator= (const ThreadPlanShouldStopHere &)=delete
 

Detailed Description

Definition at line 34 of file ThreadPlanShouldStopHere.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
eNone 
eAvoidInlines 
eStepInAvoidNoDebug 
eStepOutAvoidNoDebug 

Definition at line 58 of file ThreadPlanShouldStopHere.h.

Constructor & Destructor Documentation

◆ ThreadPlanShouldStopHere() [1/3]

ThreadPlanShouldStopHere::ThreadPlanShouldStopHere ( ThreadPlan owner)

◆ ThreadPlanShouldStopHere() [2/3]

ThreadPlanShouldStopHere::ThreadPlanShouldStopHere ( ThreadPlan owner,
const ThreadPlanShouldStopHereCallbacks callbacks,
void *  baton = nullptr 
)

Definition at line 29 of file ThreadPlanShouldStopHere.cpp.

References SetShouldStopHereCallbacks().

◆ ~ThreadPlanShouldStopHere()

ThreadPlanShouldStopHere::~ThreadPlanShouldStopHere ( )
virtualdefault

◆ ThreadPlanShouldStopHere() [3/3]

lldb_private::ThreadPlanShouldStopHere::ThreadPlanShouldStopHere ( const ThreadPlanShouldStopHere )
privatedelete

Member Function Documentation

◆ CheckShouldStopHereAndQueueStepOut()

lldb::ThreadPlanSP ThreadPlanShouldStopHere::CheckShouldStopHereAndQueueStepOut ( lldb::FrameComparison  operation,
Status status 
)

◆ ClearShouldStopHereCallbacks()

void lldb_private::ThreadPlanShouldStopHere::ClearShouldStopHereCallbacks ( )
inline

◆ DefaultShouldStopHereCallback()

bool ThreadPlanShouldStopHere::DefaultShouldStopHereCallback ( ThreadPlan current_plan,
Flags flags,
lldb::FrameComparison  operation,
Status status,
void *  baton 
)
staticprotected

◆ DefaultStepFromHereCallback()

ThreadPlanSP ThreadPlanShouldStopHere::DefaultStepFromHereCallback ( ThreadPlan current_plan,
Flags flags,
lldb::FrameComparison  operation,
Status status,
void *  baton 
)
staticprotected

◆ GetFlags() [1/2]

lldb_private::Flags & lldb_private::ThreadPlanShouldStopHere::GetFlags ( )
inline

◆ GetFlags() [2/2]

const lldb_private::Flags & lldb_private::ThreadPlanShouldStopHere::GetFlags ( ) const
inline

Definition at line 106 of file ThreadPlanShouldStopHere.h.

References m_flags.

◆ InvokeShouldStopHereCallback()

bool ThreadPlanShouldStopHere::InvokeShouldStopHereCallback ( lldb::FrameComparison  operation,
Status status 
)

◆ operator=()

const ThreadPlanShouldStopHere & lldb_private::ThreadPlanShouldStopHere::operator= ( const ThreadPlanShouldStopHere )
privatedelete

◆ QueueStepOutFromHerePlan()

ThreadPlanSP ThreadPlanShouldStopHere::QueueStepOutFromHerePlan ( lldb_private::Flags flags,
lldb::FrameComparison  operation,
Status status 
)
protectedvirtual

◆ SetFlagsToDefault()

virtual void lldb_private::ThreadPlanShouldStopHere::SetFlagsToDefault ( )
protectedpure virtual

◆ SetShouldStopHereCallbacks()

void lldb_private::ThreadPlanShouldStopHere::SetShouldStopHereCallbacks ( const ThreadPlanShouldStopHereCallbacks callbacks,
void *  baton 
)
inline

Member Data Documentation

◆ m_baton

void* lldb_private::ThreadPlanShouldStopHere::m_baton
protected

◆ m_callbacks

ThreadPlanShouldStopHereCallbacks lldb_private::ThreadPlanShouldStopHere::m_callbacks
protected

◆ m_flags

lldb_private::Flags lldb_private::ThreadPlanShouldStopHere::m_flags
protected

◆ m_owner

ThreadPlan* lldb_private::ThreadPlanShouldStopHere::m_owner
protected

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