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

#include <SBPlatform.h>

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 56 of file SBPlatform.h.

Constructor & Destructor Documentation

◆ SBPlatformShellCommand() [1/3]

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

Definition at line 167 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBPlatformShellCommand() [2/3]

SBPlatformShellCommand::SBPlatformShellCommand ( const char *  shell_command)

Definition at line 173 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA.

◆ SBPlatformShellCommand() [3/3]

SBPlatformShellCommand::SBPlatformShellCommand ( const SBPlatformShellCommand rhs)

Definition at line 178 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ ~SBPlatformShellCommand()

SBPlatformShellCommand::~SBPlatformShellCommand ( )

Definition at line 195 of file SBPlatform.cpp.

References m_opaque_ptr.

Member Function Documentation

◆ Clear()

void SBPlatformShellCommand::Clear ( )

◆ GetCommand()

const char * SBPlatformShellCommand::GetCommand ( )

◆ GetOutput()

const char * SBPlatformShellCommand::GetOutput ( )

◆ GetShell()

const char * SBPlatformShellCommand::GetShell ( )

◆ GetSignal()

int SBPlatformShellCommand::GetSignal ( )

Definition at line 273 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_signo.

◆ GetStatus()

int SBPlatformShellCommand::GetStatus ( )

Definition at line 279 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 187 of file SBPlatform.cpp.

References LLDB_INSTRUMENT_VA, and m_opaque_ptr.

◆ SetCommand()

void SBPlatformShellCommand::SetCommand ( const char *  shell_command)

Definition at line 230 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 213 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 92 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: