HIPO  4.3.0
High Performance Output data format for experimental physics
ProgressTracker::Config Struct Reference

Configuration settings for progress bar display. More...

#include <progresstracker.hpp>

Public Member Functions

 Config ()
 Default constructor initializes all fields to reasonable defaults. More...
 

Public Attributes

std::size_t bar_width
 Width of the progress bar in characters (default: 50) More...
 
bool show_eta
 Display estimated time to completion (default: true) More...
 
bool show_rate
 Display processing rate in items per second (default: true) More...
 
bool use_colors
 Use ANSI color codes in output (default: true) More...
 
bool use_gradient
 Use gradient coloring for progress bar (default: true) More...
 
std::string label
 Label text displayed before the progress bar (default: "Processing") More...
 
std::chrono::milliseconds update_interval
 Time between display updates (default: 100ms) More...
 

Detailed Description

Configuration settings for progress bar display.

Controls appearance and behavior of the progress display including bar width, information shown (ETA, rate), colors, and update frequency.

Definition at line 45 of file progresstracker.hpp.

Constructor & Destructor Documentation

◆ Config()

ProgressTracker::Config::Config ( )
inline

Default constructor initializes all fields to reasonable defaults.

Definition at line 55 of file progresstracker.hpp.

Member Data Documentation

◆ bar_width

std::size_t ProgressTracker::Config::bar_width

Width of the progress bar in characters (default: 50)

Definition at line 46 of file progresstracker.hpp.

◆ label

std::string ProgressTracker::Config::label

Label text displayed before the progress bar (default: "Processing")

Definition at line 51 of file progresstracker.hpp.

◆ show_eta

bool ProgressTracker::Config::show_eta

Display estimated time to completion (default: true)

Definition at line 47 of file progresstracker.hpp.

◆ show_rate

bool ProgressTracker::Config::show_rate

Display processing rate in items per second (default: true)

Definition at line 48 of file progresstracker.hpp.

◆ update_interval

std::chrono::milliseconds ProgressTracker::Config::update_interval

Time between display updates (default: 100ms)

Definition at line 52 of file progresstracker.hpp.

◆ use_colors

bool ProgressTracker::Config::use_colors

Use ANSI color codes in output (default: true)

Definition at line 49 of file progresstracker.hpp.

◆ use_gradient

bool ProgressTracker::Config::use_gradient

Use gradient coloring for progress bar (default: true)

Definition at line 50 of file progresstracker.hpp.


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