LLDB  mainline
Classes | Namespaces | Macros | Typedefs | Enumerations | Functions
IOHandler.cpp File Reference
#include "lldb/Core/IOHandler.h"
#include <curses.h>
#include <panel.h>
#include <string>
#include "lldb/Core/Debugger.h"
#include "lldb/Core/StreamFile.h"
#include "lldb/Host/File.h"
#include "lldb/Utility/Predicate.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
#include "lldb/Utility/StringList.h"
#include "lldb/lldb-forward.h"
#include "lldb/Host/Editline.h"
#include "lldb/Interpreter/CommandCompletions.h"
#include "lldb/Interpreter/CommandInterpreter.h"
#include "lldb/Breakpoint/BreakpointLocation.h"
#include "lldb/Core/Module.h"
#include "lldb/Core/ValueObject.h"
#include "lldb/Core/ValueObjectRegister.h"
#include "lldb/Symbol/Block.h"
#include "lldb/Symbol/Function.h"
#include "lldb/Symbol/Symbol.h"
#include "lldb/Symbol/VariableList.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/RegisterContext.h"
#include "lldb/Target/StackFrame.h"
#include "lldb/Target/StopInfo.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/State.h"
#include "llvm/ADT/StringRef.h"
#include <memory>
#include <mutex>
#include <assert.h>
#include <ctype.h>
#include <errno.h>
#include <locale.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#include <type_traits>
Include dependency graph for IOHandler.cpp:

Go to the source code of this file.

Classes

struct  curses::Point
 
struct  curses::Size
 
struct  curses::Rect
 
struct  curses::KeyHelp
 
class  curses::WindowDelegate
 
class  curses::HelpDialogDelegate
 
class  curses::Window
 
class  curses::MenuDelegate
 
class  curses::Menu
 
class  curses::Application
 
struct  Row
 
struct  DisplayOptions
 
class  TreeDelegate
 
class  TreeItem
 
class  TreeWindowDelegate
 
class  FrameTreeDelegate
 
class  ThreadTreeDelegate
 
class  ThreadsTreeDelegate
 
class  ValueObjectListDelegate
 
class  FrameVariablesWindowDelegate
 
class  RegistersWindowDelegate
 
class  ApplicationDelegate
 
class  StatusBarWindowDelegate
 
class  SourceFileWindowDelegate
 

Namespaces

 curses
 

Macros

#define KEY_RETURN   10
 
#define KEY_ESCAPE   27
 

Typedefs

typedef std::shared_ptr< Menucurses::MenuSP
 
typedef std::shared_ptr< MenuDelegatecurses::MenuDelegateSP
 
typedef std::shared_ptr< Windowcurses::WindowSP
 
typedef std::shared_ptr< WindowDelegatecurses::WindowDelegateSP
 
typedef std::vector< MenuSPcurses::Menus
 
typedef std::vector< WindowSPcurses::Windows
 
typedef std::vector< WindowDelegateSPcurses::WindowDelegates
 
typedef std::shared_ptr< TreeDelegateTreeDelegateSP
 

Enumerations

enum  curses::HandleCharResult { curses::eKeyNotHandled = 0, curses::eKeyHandled = 1, curses::eQuitApplication = 2 }
 
enum  curses::MenuActionResult { curses::MenuActionResult::Handled, curses::MenuActionResult::NotHandled, curses::MenuActionResult::Quit }
 

Functions

bool curses::operator== (const Point &lhs, const Point &rhs)
 
bool curses::operator!= (const Point &lhs, const Point &rhs)
 
bool curses::operator== (const Size &lhs, const Size &rhs)
 
bool curses::operator!= (const Size &lhs, const Size &rhs)
 
bool curses::operator== (const Rect &lhs, const Rect &rhs)
 
bool curses::operator!= (const Rect &lhs, const Rect &rhs)
 
static const char * CursesKeyToCString (int ch)
 

Macro Definition Documentation

◆ KEY_ESCAPE

#define KEY_ESCAPE   27

◆ KEY_RETURN

#define KEY_RETURN   10

Typedef Documentation

◆ TreeDelegateSP

typedef std::shared_ptr<TreeDelegate> TreeDelegateSP

Definition at line 2028 of file IOHandler.cpp.

Function Documentation

◆ CursesKeyToCString()

static const char* CursesKeyToCString ( int  ch)
static

Definition at line 3116 of file IOHandler.cpp.

References isprint(), KEY_ESCAPE, and KEY_RETURN.

Referenced by curses::HelpDialogDelegate::HelpDialogDelegate().