LLDB mainline
|
#include <SBPlatform.h>
Public Member Functions | |
SBPlatformShellCommand (const char *shell, const char *shell_command) | |
SBPlatformShellCommand (const char *shell_command) | |
SBPlatformShellCommand (const SBPlatformShellCommand &rhs) | |
SBPlatformShellCommand & | operator= (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 | |
PlatformShellCommand * | m_opaque_ptr |
Friends | |
class | SBPlatform |
Definition at line 56 of file SBPlatform.h.
SBPlatformShellCommand::SBPlatformShellCommand | ( | const char * | shell, |
const char * | shell_command | ||
) |
Definition at line 167 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA.
SBPlatformShellCommand::SBPlatformShellCommand | ( | const char * | shell_command | ) |
Definition at line 173 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA.
SBPlatformShellCommand::SBPlatformShellCommand | ( | const SBPlatformShellCommand & | rhs | ) |
Definition at line 178 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
SBPlatformShellCommand::~SBPlatformShellCommand | ( | ) |
Definition at line 195 of file SBPlatform.cpp.
References m_opaque_ptr.
void SBPlatformShellCommand::Clear | ( | ) |
Definition at line 197 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, PlatformShellCommand::m_output, PlatformShellCommand::m_signo, and PlatformShellCommand::m_status.
const char * SBPlatformShellCommand::GetCommand | ( | ) |
Definition at line 222 of file SBPlatform.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, PlatformShellCommand::m_command, and m_opaque_ptr.
Referenced by lldb::SBPlatform::Run().
const char * SBPlatformShellCommand::GetOutput | ( | ) |
Definition at line 285 of file SBPlatform.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_output.
const char * SBPlatformShellCommand::GetShell | ( | ) |
Definition at line 205 of file SBPlatform.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_shell.
int SBPlatformShellCommand::GetSignal | ( | ) |
Definition at line 273 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_signo.
int SBPlatformShellCommand::GetStatus | ( | ) |
Definition at line 279 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_status.
uint32_t SBPlatformShellCommand::GetTimeoutSeconds | ( | ) |
Definition at line 256 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, PlatformShellCommand::m_timeout, and UINT32_MAX.
const char * SBPlatformShellCommand::GetWorkingDirectory | ( | ) |
Definition at line 239 of file SBPlatform.cpp.
References lldb_private::ConstString::GetCString(), LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_working_dir.
Referenced by lldb::SBPlatform::Run().
SBPlatformShellCommand & SBPlatformShellCommand::operator= | ( | const SBPlatformShellCommand & | rhs | ) |
Definition at line 187 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, and m_opaque_ptr.
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.
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.
void SBPlatformShellCommand::SetTimeoutSeconds | ( | uint32_t | sec | ) |
Definition at line 264 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, PlatformShellCommand::m_timeout, and UINT32_MAX.
void SBPlatformShellCommand::SetWorkingDirectory | ( | const char * | path | ) |
Definition at line 247 of file SBPlatform.cpp.
References LLDB_INSTRUMENT_VA, m_opaque_ptr, and PlatformShellCommand::m_working_dir.
|
friend |
Definition at line 92 of file SBPlatform.h.
|
protected |
Definition at line 94 of file SBPlatform.h.
Referenced by Clear(), GetCommand(), GetOutput(), GetShell(), GetSignal(), GetStatus(), GetTimeoutSeconds(), GetWorkingDirectory(), operator=(), lldb::SBPlatform::Run(), SBPlatformShellCommand(), SetCommand(), SetShell(), SetTimeoutSeconds(), SetWorkingDirectory(), and ~SBPlatformShellCommand().