LLDB  mainline
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
lldb_private::Target::StopHookCommandLine Class Reference

#include <Target.h>

Inheritance diagram for lldb_private::Target::StopHookCommandLine:
Inheritance graph
[legend]
Collaboration diagram for lldb_private::Target::StopHookCommandLine:
Collaboration graph
[legend]

Public Member Functions

virtual ~StopHookCommandLine ()=default
 
StringListGetCommands ()
 
void SetActionFromString (const std::string &strings)
 
void SetActionFromStrings (const std::vector< std::string > &strings)
 
StopHookResult HandleStop (ExecutionContext &exc_ctx, lldb::StreamSP output_sp) override
 
void GetSubclassDescription (Stream *s, lldb::DescriptionLevel level) const override
 
- Public Member Functions inherited from lldb_private::Target::StopHook
 StopHook (const StopHook &rhs)
 
virtual ~StopHook ()=default
 
lldb::TargetSP & GetTarget ()
 
void SetSpecifier (SymbolContextSpecifier *specifier)
 
SymbolContextSpecifierGetSpecifier ()
 
bool ExecutionContextPasses (const ExecutionContext &exe_ctx)
 
void SetThreadSpecifier (ThreadSpec *specifier)
 
ThreadSpecGetThreadSpecifier ()
 
bool IsActive ()
 
void SetIsActive (bool is_active)
 
void SetAutoContinue (bool auto_continue)
 
bool GetAutoContinue () const
 
void GetDescription (Stream *s, lldb::DescriptionLevel level) const
 
- Public Member Functions inherited from lldb_private::UserID
 UserID (lldb::user_id_t uid=LLDB_INVALID_UID)
 Construct with optional user ID. More...
 
 ~UserID ()=default
 Destructor. More...
 
void Clear ()
 Clears the object state. More...
 
lldb::user_id_t GetID () const
 Get accessor for the user ID. More...
 
void SetID (lldb::user_id_t uid)
 Set accessor for the user ID. More...
 

Private Member Functions

 StopHookCommandLine (lldb::TargetSP target_sp, lldb::user_id_t uid)
 

Private Attributes

StringList m_commands
 

Friends

class Target
 

Additional Inherited Members

- Public Types inherited from lldb_private::Target::StopHook
enum  StopHookKind : uint32_t { StopHookKind::CommandBased = 0, StopHookKind::ScriptBased }
 
enum  StopHookResult : uint32_t { StopHookResult::KeepStopped = 0, StopHookResult::RequestContinue, StopHookResult::AlreadyContinued }
 
- Protected Member Functions inherited from lldb_private::Target::StopHook
 StopHook (lldb::TargetSP target_sp, lldb::user_id_t uid)
 
- Protected Attributes inherited from lldb_private::Target::StopHook
lldb::TargetSP m_target_sp
 
lldb::SymbolContextSpecifierSP m_specifier_sp
 
std::unique_ptr< ThreadSpecm_thread_spec_up
 
bool m_active = true
 
bool m_auto_continue = false
 
- Protected Attributes inherited from lldb_private::UserID
lldb::user_id_t m_uid
 The user ID that uniquely identifies an object. More...
 

Detailed Description

Definition at line 1241 of file Target.h.

Constructor & Destructor Documentation

◆ ~StopHookCommandLine()

virtual lldb_private::Target::StopHookCommandLine::~StopHookCommandLine ( )
virtualdefault

◆ StopHookCommandLine()

lldb_private::Target::StopHookCommandLine::StopHookCommandLine ( lldb::TargetSP  target_sp,
lldb::user_id_t  uid 
)
inlineprivate

Definition at line 1259 of file Target.h.

Member Function Documentation

◆ GetCommands()

StringList& lldb_private::Target::StopHookCommandLine::GetCommands ( )
inline

Definition at line 1245 of file Target.h.

References m_commands.

◆ GetSubclassDescription()

void Target::StopHookCommandLine::GetSubclassDescription ( Stream s,
lldb::DescriptionLevel  level 
) const
overridevirtual

◆ HandleStop()

Target::StopHook::StopHookResult Target::StopHookCommandLine::HandleStop ( ExecutionContext exc_ctx,
lldb::StreamSP  output_sp 
)
overridevirtual

◆ SetActionFromString()

void Target::StopHookCommandLine::SetActionFromString ( const std::string strings)

Definition at line 3360 of file Target.cpp.

◆ SetActionFromStrings()

void Target::StopHookCommandLine::SetActionFromStrings ( const std::vector< std::string > &  strings)

Definition at line 3364 of file Target.cpp.

Friends And Related Function Documentation

◆ Target

friend class Target
friend

Definition at line 1261 of file Target.h.

Member Data Documentation

◆ m_commands

StringList lldb_private::Target::StopHookCommandLine::m_commands
private

Definition at line 1255 of file Target.h.

Referenced by GetCommands().


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