Consolix
Loading...
Searching...
No Matches
AppConfig Struct Reference

Application configuration structure. More...

Public Attributes

std::string text
 Text to display in each loop iteration.
 
std::vector< std::string > items
 List of items to display.
 
int period
 Delay between loop iterations in milliseconds.
 
bool debug_mode
 Enable or disable debugging mode.
 

Detailed Description

Application configuration structure.

Defines the configurable parameters for the application, loaded from a JSON file or specified via command-line arguments.

Examples
example_application_main_loop.cpp.

Definition at line 9 of file example_application_main_loop.cpp.

Member Data Documentation

◆ debug_mode

bool AppConfig::debug_mode

Enable or disable debugging mode.

Examples
example_application_main_loop.cpp.

Definition at line 13 of file example_application_main_loop.cpp.

◆ items

std::vector<std::string> AppConfig::items

List of items to display.

Examples
example_application_main_loop.cpp.

Definition at line 11 of file example_application_main_loop.cpp.

◆ period

int AppConfig::period

Delay between loop iterations in milliseconds.

Examples
example_application_main_loop.cpp.

Definition at line 12 of file example_application_main_loop.cpp.

◆ text

std::string AppConfig::text

Text to display in each loop iteration.

Examples
example_application_main_loop.cpp.

Definition at line 10 of file example_application_main_loop.cpp.


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