My Project
Public Member Functions | Public Attributes | List of all members
uuid::console::Shell::BlockingData Class Reference

Data for the Mode::BLOCKING shell mode. More...

Inheritance diagram for uuid::console::Shell::BlockingData:
Inheritance graph
[legend]
Collaboration diagram for uuid::console::Shell::BlockingData:
Collaboration graph
[legend]

Public Member Functions

 BlockingData (blocking_function &&blocking_function)
 Create Mode::DELAY shell mode data. More...
 

Public Attributes

blocking_function blocking_function_
 
bool consume_line_feed_ = true
 
bool stop_ = false
 

Detailed Description

Data for the Mode::BLOCKING shell mode.

Since
0.2.0

Definition at line 1454 of file console.h.

Constructor & Destructor Documentation

◆ BlockingData()

uuid::console::Shell::BlockingData::BlockingData ( blocking_function &&  blocking_function)
explicit

Create Mode::DELAY shell mode data.

Parameters
[in]blocking_functionFunction to be executed on every loop_one() until it returns true.
Since
0.2.0

Definition at line 324 of file shell.cpp.

Member Data Documentation

◆ blocking_function_

blocking_function uuid::console::Shell::BlockingData::blocking_function_

Function executed on every loop_one().

Since
0.2.0

Definition at line 1467 of file console.h.

◆ consume_line_feed_

bool uuid::console::Shell::BlockingData::consume_line_feed_ = true

Stream input should try to consume the first line feed following a carriage return.

Since
0.2.0

Definition at line 1468 of file console.h.

◆ stop_

bool uuid::console::Shell::BlockingData::stop_ = false

There is a stop pending for the shell.

Since
0.2.0

Definition at line 1469 of file console.h.


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