ICF 3.0.5.47
Technical documentation of ICF Libraries
ibase::CConsoleReader Class Reference

User-input reader for command line console. More...

#include <CConsoleReader.h>

Inherits QObject.

Collaboration diagram for ibase::CConsoleReader:

Classes

class  InputObserver
 

Public Types

typedef QObject BaseClass
 

Signals

void KeyPressedSignal (char character)
 Emit typed character.
 

Public Member Functions

 CConsoleReader (QObject *parentPtr=nullptr)
 
virtual void Start ()
 Start reading of the user input on the console.
 
virtual void Stop ()
 Stop reading of the user input on the console.
 
bool IsRunning () const
 Check if the reader is running.
 

Detailed Description

User-input reader for command line console.

Definition at line 20 of file CConsoleReader.h.

Member Typedef Documentation

◆ BaseClass

Definition at line 25 of file CConsoleReader.h.

Constructor & Destructor Documentation

◆ CConsoleReader()

ibase::CConsoleReader::CConsoleReader ( QObject * parentPtr = nullptr)
explicit

Member Function Documentation

◆ IsRunning()

bool ibase::CConsoleReader::IsRunning ( ) const

Check if the reader is running.

◆ KeyPressedSignal

void ibase::CConsoleReader::KeyPressedSignal ( char character)
signal

Emit typed character.

◆ Start()

virtual void ibase::CConsoleReader::Start ( )
virtual

Start reading of the user input on the console.

◆ Stop()

virtual void ibase::CConsoleReader::Stop ( )
virtual

Stop reading of the user input on the console.


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

© Witold Gantzke and Kirill Lepskiy