LLDB  mainline
Public Member Functions | Protected Types | Protected Attributes | List of all members
lldb_private::IOHandlerStack Class Reference

#include <IOHandler.h>

Collaboration diagram for lldb_private::IOHandlerStack:
Collaboration graph
[legend]

Public Member Functions

 IOHandlerStack ()
 
 ~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)
 
ConstString GetTopIOHandlerControlSequence (char ch)
 
const char * GetTopIOHandlerCommandPrefix ()
 
const char * GetTopIOHandlerHelpPrologue ()
 
void PrintAsync (Stream *stream, const char *s, size_t len)
 

Protected Types

typedef std::vector< lldb::IOHandlerSP > collection
 

Protected Attributes

collection m_stack
 
std::recursive_mutex m_mutex
 
IOHandlerm_top
 

Detailed Description

Definition at line 503 of file IOHandler.h.

Member Typedef Documentation

◆ collection

typedef std::vector<lldb::IOHandlerSP> lldb_private::IOHandlerStack::collection
protected

Definition at line 581 of file IOHandler.h.

Constructor & Destructor Documentation

◆ IOHandlerStack()

lldb_private::IOHandlerStack::IOHandlerStack ( )
inline

Definition at line 505 of file IOHandler.h.

◆ ~IOHandlerStack()

lldb_private::IOHandlerStack::~IOHandlerStack ( )
default

Member Function Documentation

◆ CheckTopIOHandlerTypes()

bool lldb_private::IOHandlerStack::CheckTopIOHandlerTypes ( IOHandler::Type  top_type,
IOHandler::Type  second_top_type 
)
inline

Definition at line 557 of file IOHandler.h.

◆ GetMutex()

std::recursive_mutex& lldb_private::IOHandlerStack::GetMutex ( )
inline

Definition at line 551 of file IOHandler.h.

◆ GetSize()

size_t lldb_private::IOHandlerStack::GetSize ( ) const
inline

Definition at line 509 of file IOHandler.h.

◆ GetTopIOHandlerCommandPrefix()

const char* lldb_private::IOHandlerStack::GetTopIOHandlerCommandPrefix ( )
inline

Definition at line 570 of file IOHandler.h.

◆ GetTopIOHandlerControlSequence()

ConstString lldb_private::IOHandlerStack::GetTopIOHandlerControlSequence ( char  ch)
inline

Definition at line 566 of file IOHandler.h.

◆ GetTopIOHandlerHelpPrologue()

const char* lldb_private::IOHandlerStack::GetTopIOHandlerHelpPrologue ( )
inline

Definition at line 574 of file IOHandler.h.

◆ IsEmpty()

bool lldb_private::IOHandlerStack::IsEmpty ( ) const
inline

Definition at line 524 of file IOHandler.h.

◆ IsTop()

bool lldb_private::IOHandlerStack::IsTop ( const lldb::IOHandlerSP &  io_handler_sp) const
inline

Definition at line 553 of file IOHandler.h.

◆ Pop()

void lldb_private::IOHandlerStack::Pop ( )
inline

Definition at line 539 of file IOHandler.h.

References sp.

◆ PrintAsync()

void IOHandlerStack::PrintAsync ( Stream stream,
const char *  s,
size_t  len 
)

Definition at line 142 of file IOHandler.cpp.

◆ Push()

void lldb_private::IOHandlerStack::Push ( const lldb::IOHandlerSP &  sp)
inline

Definition at line 514 of file IOHandler.h.

◆ Top()

lldb::IOHandlerSP lldb_private::IOHandlerStack::Top ( )
inline

Definition at line 529 of file IOHandler.h.

References sp.

Member Data Documentation

◆ m_mutex

std::recursive_mutex lldb_private::IOHandlerStack::m_mutex
mutableprotected

Definition at line 583 of file IOHandler.h.

◆ m_stack

collection lldb_private::IOHandlerStack::m_stack
protected

Definition at line 582 of file IOHandler.h.

◆ m_top

IOHandler* lldb_private::IOHandlerStack::m_top
protected

Definition at line 584 of file IOHandler.h.


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