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

#include <SBPlatform.h>

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

Public Member Functions

 SBPlatformShellCommand (const char *shell, const char *shell_command)
 
 SBPlatformShellCommand (const char *shell_command)
 
 SBPlatformShellCommand (const SBPlatformShellCommand &rhs)
 
SBPlatformShellCommandoperator= (const SBPlatformShellCommand &rhs)
 
 ~SBPlatformShellCommand ()
 
void Clear ()
 
const char * GetShell ()
 
void SetShell (const char *shell)
 
const char * GetCommand ()
 
void SetCommand (const char *shell_command)
 
const char * GetWorkingDirectory ()
 
void SetWorkingDirectory (const char *path)
 
uint32_t GetTimeoutSeconds ()
 
void SetTimeoutSeconds (uint32_t sec)
 
int GetSignal ()
 
int GetStatus ()
 
const char * GetOutput ()
 

Protected Attributes

PlatformShellCommandm_opaque_ptr
 

Friends

class SBPlatform
 

Detailed Description

Definition at line 52 of file SBPlatform.h.

Constructor & Destructor Documentation

◆ SBPlatformShellCommand() [1/3]

SBPlatformShellCommand::SBPlatformShellCommand ( const char *  shell,
const char *  shell_command 
)

Definition at line 163 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBPlatformShellCommand() [2/3]

SBPlatformShellCommand::SBPlatformShellCommand ( const char *  shell_command)

Definition at line 169 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBPlatformShellCommand() [3/3]

SBPlatformShellCommand::SBPlatformShellCommand ( const SBPlatformShellCommand rhs)

Definition at line 174 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ ~SBPlatformShellCommand()

SBPlatformShellCommand::~SBPlatformShellCommand ( )

Definition at line 191 of file SBPlatform.cpp.

References m_opaque_ptr.

Member Function Documentation

◆ Clear()

void SBPlatformShellCommand::Clear ( )

◆ GetCommand()

const char * SBPlatformShellCommand::GetCommand ( )

Definition at line 218 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, PlatformShellCommand::m_command, and m_opaque_ptr.

Referenced by lldb::SBPlatform::Run().

◆ GetOutput()

const char * SBPlatformShellCommand::GetOutput ( )

Definition at line 281 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_output.

◆ GetShell()

const char * SBPlatformShellCommand::GetShell ( )

Definition at line 201 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_shell.

◆ GetSignal()

int SBPlatformShellCommand::GetSignal ( )

Definition at line 269 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_signo.

◆ GetStatus()

int SBPlatformShellCommand::GetStatus ( )

Definition at line 275 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_status.

◆ GetTimeoutSeconds()

uint32_t SBPlatformShellCommand::GetTimeoutSeconds ( )

◆ GetWorkingDirectory()

const char * SBPlatformShellCommand::GetWorkingDirectory ( )

◆ operator=()

SBPlatformShellCommand & SBPlatformShellCommand::operator= ( const SBPlatformShellCommand rhs)

Definition at line 183 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ SetCommand()

void SBPlatformShellCommand::SetCommand ( const char *  shell_command)

Definition at line 226 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, PlatformShellCommand::m_command, and m_opaque_ptr.

◆ SetShell()

void SBPlatformShellCommand::SetShell ( const char *  shell)

Definition at line 209 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_shell.

◆ SetTimeoutSeconds()

void SBPlatformShellCommand::SetTimeoutSeconds ( uint32_t  sec)

◆ SetWorkingDirectory()

void SBPlatformShellCommand::SetWorkingDirectory ( const char *  path)

Friends And Related Function Documentation

◆ SBPlatform

friend class SBPlatform
friend

Definition at line 88 of file SBPlatform.h.

Member Data Documentation

◆ m_opaque_ptr

PlatformShellCommand* lldb::SBPlatformShellCommand::m_opaque_ptr
protected

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