GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
cli_input_reader Class Reference
Collaboration diagram for cli_input_reader:

Public Member Functions

 cli_input_reader (const cli_input_reader &)=delete
 
 cli_input_reader (interpreter &interp)
 
 ~cli_input_reader (void)
 
cli_input_readeroperator= (const cli_input_reader &)=delete
 
void start (void)
 

Private Attributes

interpreterm_interpreter
 
std::thread m_thread
 

Detailed Description

Definition at line 800 of file interpreter.cc.

Constructor & Destructor Documentation

◆ cli_input_reader() [1/2]

cli_input_reader::cli_input_reader ( interpreter interp)
inline

Definition at line 804 of file interpreter.cc.

◆ cli_input_reader() [2/2]

cli_input_reader::cli_input_reader ( const cli_input_reader )
delete

◆ ~cli_input_reader()

cli_input_reader::~cli_input_reader ( void  )
inline

Definition at line 811 of file interpreter.cc.

References m_thread.

Member Function Documentation

◆ operator=()

cli_input_reader& cli_input_reader::operator= ( const cli_input_reader )
delete

◆ start()

void cli_input_reader::start ( void  )
inline

Definition at line 820 of file interpreter.cc.

References interpreter::get_line_and_eval(), m_interpreter, and m_thread.

Referenced by interpreter::execute().

Member Data Documentation

◆ m_interpreter

interpreter& cli_input_reader::m_interpreter
private

Definition at line 827 of file interpreter.cc.

Referenced by start().

◆ m_thread

std::thread cli_input_reader::m_thread
private

Definition at line 829 of file interpreter.cc.

Referenced by ~cli_input_reader(), and start().


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