LLDB  mainline
Public Member Functions | Protected Member Functions | Private Attributes | Friends | List of all members
lldb::SBUnixSignals Class Reference

#include <SBUnixSignals.h>

Collaboration diagram for lldb::SBUnixSignals:
Collaboration graph
[legend]

Public Member Functions

 SBUnixSignals ()
 
 SBUnixSignals (const lldb::SBUnixSignals &rhs)
 
 ~SBUnixSignals ()
 
const SBUnixSignalsoperator= (const lldb::SBUnixSignals &rhs)
 
void Clear ()
 
 operator bool () const
 
bool IsValid () const
 
const char * GetSignalAsCString (int32_t signo) const
 
int32_t GetSignalNumberFromName (const char *name) const
 
bool GetShouldSuppress (int32_t signo) const
 
bool SetShouldSuppress (int32_t signo, bool value)
 
bool GetShouldStop (int32_t signo) const
 
bool SetShouldStop (int32_t signo, bool value)
 
bool GetShouldNotify (int32_t signo) const
 
bool SetShouldNotify (int32_t signo, bool value)
 
int32_t GetNumSignals () const
 
int32_t GetSignalAtIndex (int32_t index) const
 

Protected Member Functions

 SBUnixSignals (lldb::ProcessSP &process_sp)
 
 SBUnixSignals (lldb::PlatformSP &platform_sp)
 
lldb::UnixSignalsSP GetSP () const
 
void SetSP (const lldb::UnixSignalsSP &signals_sp)
 

Private Attributes

lldb::UnixSignalsWP m_opaque_wp
 

Friends

class SBProcess
 
class SBPlatform
 

Detailed Description

Definition at line 17 of file SBUnixSignals.h.

Constructor & Destructor Documentation

◆ SBUnixSignals() [1/4]

SBUnixSignals::SBUnixSignals ( )

Definition at line 20 of file SBUnixSignals.cpp.

References LLDB_RECORD_CONSTRUCTOR_NO_ARGS.

◆ SBUnixSignals() [2/4]

SBUnixSignals::SBUnixSignals ( const lldb::SBUnixSignals rhs)

Definition at line 24 of file SBUnixSignals.cpp.

References LLDB_RECORD_CONSTRUCTOR.

◆ ~SBUnixSignals()

SBUnixSignals::~SBUnixSignals ( )
default

◆ SBUnixSignals() [3/4]

lldb::SBUnixSignals::SBUnixSignals ( lldb::ProcessSP &  process_sp)
protected

◆ SBUnixSignals() [4/4]

lldb::SBUnixSignals::SBUnixSignals ( lldb::PlatformSP &  platform_sp)
protected

Member Function Documentation

◆ Clear()

void SBUnixSignals::Clear ( )

Definition at line 53 of file SBUnixSignals.cpp.

References LLDB_RECORD_METHOD_NO_ARGS, and m_opaque_wp.

◆ GetNumSignals()

int32_t SBUnixSignals::GetNumSignals ( ) const

Definition at line 155 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ GetShouldNotify()

bool SBUnixSignals::GetShouldNotify ( int32_t  signo) const

Definition at line 133 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD_CONST.

◆ GetShouldStop()

bool SBUnixSignals::GetShouldStop ( int32_t  signo) const

Definition at line 111 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD_CONST.

◆ GetShouldSuppress()

bool SBUnixSignals::GetShouldSuppress ( int32_t  signo) const

Definition at line 89 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD_CONST.

◆ GetSignalAsCString()

const char * SBUnixSignals::GetSignalAsCString ( int32_t  signo) const

Definition at line 69 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD_CONST.

◆ GetSignalAtIndex()

int32_t SBUnixSignals::GetSignalAtIndex ( int32_t  index) const

Definition at line 164 of file SBUnixSignals.cpp.

References GetSP(), LLDB_INVALID_SIGNAL_NUMBER, and LLDB_RECORD_METHOD_CONST.

◆ GetSignalNumberFromName()

int32_t SBUnixSignals::GetSignalNumberFromName ( const char *  name) const

Definition at line 79 of file SBUnixSignals.cpp.

References GetSP(), LLDB_INVALID_SIGNAL_NUMBER, and LLDB_RECORD_METHOD_CONST.

◆ GetSP()

UnixSignalsSP SBUnixSignals::GetSP ( ) const
protected

◆ IsValid()

bool SBUnixSignals::IsValid ( ) const

Definition at line 59 of file SBUnixSignals.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator bool()

SBUnixSignals::operator bool ( ) const
explicit

Definition at line 63 of file SBUnixSignals.cpp.

References LLDB_RECORD_METHOD_CONST_NO_ARGS.

◆ operator=()

const SBUnixSignals & SBUnixSignals::operator= ( const lldb::SBUnixSignals rhs)

Definition at line 35 of file SBUnixSignals.cpp.

References LLDB_RECORD_METHOD, LLDB_RECORD_RESULT, and m_opaque_wp.

◆ SetShouldNotify()

bool SBUnixSignals::SetShouldNotify ( int32_t  signo,
bool  value 
)

Definition at line 143 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD.

◆ SetShouldStop()

bool SBUnixSignals::SetShouldStop ( int32_t  signo,
bool  value 
)

Definition at line 121 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD.

◆ SetShouldSuppress()

bool SBUnixSignals::SetShouldSuppress ( int32_t  signo,
bool  value 
)

Definition at line 99 of file SBUnixSignals.cpp.

References GetSP(), and LLDB_RECORD_METHOD.

◆ SetSP()

void SBUnixSignals::SetSP ( const lldb::UnixSignalsSP &  signals_sp)
protected

Definition at line 49 of file SBUnixSignals.cpp.

References m_opaque_wp.

Friends And Related Function Documentation

◆ SBPlatform

friend class SBPlatform
friend

Definition at line 55 of file SBUnixSignals.h.

◆ SBProcess

friend class SBProcess
friend

Definition at line 54 of file SBUnixSignals.h.

Member Data Documentation

◆ m_opaque_wp

lldb::UnixSignalsWP lldb::SBUnixSignals::m_opaque_wp
private

Definition at line 66 of file SBUnixSignals.h.

Referenced by Clear(), GetSP(), operator=(), and SetSP().


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