nngn
Loading...
Searching...
No Matches
anonymous_namespace{terminal.cpp}::Terminal Struct Reference

Public Types

using Flag = nngn::Input::TerminalFlag
 

Public Member Functions

 Terminal (Terminal &&rhs) noexcept
 
 Terminal (int fd_, Flag flags_)
 
 ~Terminal (void)
 
Terminaloperator= (Terminal &&rhs) noexcept
 
bool init (void)
 
bool read (char *c) const
 

Private Attributes

int fd = -1
 
Flag flags = {}
 
termios t0 = {}
 
termios t = {}
 

Member Typedef Documentation

◆ Flag

using anonymous_namespace{terminal.cpp}::Terminal::Flag = nngn::Input::TerminalFlag

Constructor & Destructor Documentation

◆ Terminal() [1/2]

anonymous_namespace{terminal.cpp}::Terminal::Terminal ( Terminal && rhs)
inlinenoexcept

◆ Terminal() [2/2]

anonymous_namespace{terminal.cpp}::Terminal::Terminal ( int fd_,
Flag flags_ )
inline

◆ ~Terminal()

anonymous_namespace{terminal.cpp}::Terminal::~Terminal ( void )
Here is the call graph for this function:

Member Function Documentation

◆ init()

bool anonymous_namespace{terminal.cpp}::Terminal::init ( void )
Here is the call graph for this function:

◆ operator=()

Terminal & anonymous_namespace{terminal.cpp}::Terminal::operator= ( Terminal && rhs)
noexcept

◆ read()

bool anonymous_namespace{terminal.cpp}::Terminal::read ( char * c) const
Here is the call graph for this function:

Member Data Documentation

◆ fd

int anonymous_namespace{terminal.cpp}::Terminal::fd = -1
private

◆ flags

Flag anonymous_namespace{terminal.cpp}::Terminal::flags = {}
private

◆ t

termios anonymous_namespace{terminal.cpp}::Terminal::t = {}
private

◆ t0

termios anonymous_namespace{terminal.cpp}::Terminal::t0 = {}
private

The documentation for this struct was generated from the following file: