LLDB mainline
|
#include <IOHandler.h>
Public Member Functions | |
IOHandlerStack ()=default | |
size_t | GetSize () const |
void | Push (const lldb::IOHandlerSP &sp) |
bool | IsEmpty () const |
lldb::IOHandlerSP | Top () |
void | Pop () |
std::recursive_mutex & | GetMutex () |
bool | IsTop (const lldb::IOHandlerSP &io_handler_sp) const |
bool | CheckTopIOHandlerTypes (IOHandler::Type top_type, IOHandler::Type second_top_type) |
llvm::StringRef | GetTopIOHandlerControlSequence (char ch) |
const char * | GetTopIOHandlerCommandPrefix () |
const char * | GetTopIOHandlerHelpPrologue () |
bool | PrintAsync (const char *s, size_t len, bool is_stdout) |
Protected Types | |
typedef std::vector< lldb::IOHandlerSP > | collection |
Protected Attributes | |
collection | m_stack |
std::recursive_mutex | m_mutex |
IOHandler * | m_top = nullptr |
Private Member Functions | |
IOHandlerStack (const IOHandlerStack &)=delete | |
const IOHandlerStack & | operator= (const IOHandlerStack &)=delete |
Definition at line 462 of file IOHandler.h.
|
protected |
Definition at line 539 of file IOHandler.h.
|
default |
|
privatedelete |
|
inline |
Definition at line 514 of file IOHandler.h.
References m_mutex, and m_stack.
Referenced by lldb_private::Debugger::CheckTopIOHandlerTypes().
|
inline |
Definition at line 508 of file IOHandler.h.
References m_mutex.
Referenced by lldb_private::Debugger::AdoptTopIOHandlerFilesIfInvalid(), lldb_private::Debugger::ClearIOHandlers(), lldb_private::Debugger::DispatchInputEndOfFile(), lldb_private::Debugger::DispatchInputInterrupt(), lldb_private::Debugger::PopIOHandler(), and lldb_private::Debugger::PushIOHandler().
|
inline |
Definition at line 466 of file IOHandler.h.
References m_mutex, and m_stack.
Referenced by lldb_private::Debugger::ClearIOHandlers().
|
inline |
Definition at line 528 of file IOHandler.h.
References lldb_private::IOHandler::GetCommandPrefix(), and m_top.
Referenced by lldb_private::Debugger::GetIOHandlerCommandPrefix().
|
inline |
Definition at line 523 of file IOHandler.h.
References lldb_private::IOHandler::GetControlSequence(), and m_top.
Referenced by lldb_private::Debugger::GetTopIOHandlerControlSequence().
|
inline |
Definition at line 532 of file IOHandler.h.
References lldb_private::IOHandler::GetHelpPrologue(), and m_top.
Referenced by lldb_private::Debugger::GetIOHandlerHelpPrologue().
|
inline |
Definition at line 481 of file IOHandler.h.
References m_mutex, and m_stack.
Referenced by lldb_private::Debugger::PopIOHandler().
|
inline |
Definition at line 510 of file IOHandler.h.
References m_top.
Referenced by lldb_private::Debugger::IsTopIOHandler().
|
privatedelete |
|
inline |
Definition at line 496 of file IOHandler.h.
References m_mutex, m_stack, m_top, and sp.
Referenced by lldb_private::Debugger::PopIOHandler().
bool IOHandlerStack::PrintAsync | ( | const char * | s, |
size_t | len, | ||
bool | is_stdout | ||
) |
Definition at line 128 of file IOHandler.cpp.
References m_mutex, m_top, and lldb_private::IOHandler::PrintAsync().
Referenced by lldb_private::Debugger::PrintAsync().
|
inline |
Definition at line 471 of file IOHandler.h.
References m_mutex, m_stack, m_top, and sp.
Referenced by lldb_private::Debugger::PushIOHandler().
|
inline |
Definition at line 486 of file IOHandler.h.
References m_mutex, m_stack, and sp.
Referenced by lldb_private::Debugger::AdoptTopIOHandlerFilesIfInvalid(), lldb_private::Debugger::ClearIOHandlers(), lldb_private::Debugger::DispatchInputEndOfFile(), lldb_private::Debugger::DispatchInputInterrupt(), lldb_private::Debugger::PopIOHandler(), lldb_private::Debugger::PushIOHandler(), lldb_private::Debugger::RunIOHandlers(), lldb_private::Debugger::RunIOHandlerSync(), and lldb_private::Debugger::SetTerminalWidth().
|
mutableprotected |
Definition at line 541 of file IOHandler.h.
Referenced by CheckTopIOHandlerTypes(), GetMutex(), GetSize(), IsEmpty(), Pop(), PrintAsync(), Push(), and Top().
|
protected |
Definition at line 540 of file IOHandler.h.
Referenced by CheckTopIOHandlerTypes(), GetSize(), IsEmpty(), Pop(), Push(), and Top().
|
protected |
Definition at line 542 of file IOHandler.h.
Referenced by GetTopIOHandlerCommandPrefix(), GetTopIOHandlerControlSequence(), GetTopIOHandlerHelpPrologue(), IsTop(), Pop(), PrintAsync(), and Push().