Code forensics  0.1
Generate historical information about code changes
ScopedBar Struct Reference

#include <logging.hpp>

Collaboration diagram for ScopedBar:

Public Member Functions

 ScopedBar (walker_state *_state, int _max, CR< Str > _annotation, bool _timed=true, int _width=40)
 
 ~ScopedBar ()
 
void tick ()
 

Public Attributes

int count = 0
 
int max
 
indicators::BlockProgressBar bar
 
Str annotation
 
walker_statestate
 
bool timed
 
sc::high_resolution_clock::time_point start
 

Constructor & Destructor Documentation

◆ ScopedBar()

ScopedBar::ScopedBar ( walker_state _state,
int  _max,
CR< Str >  _annotation,
bool  _timed = true,
int  _width = 40 
)
inline

◆ ~ScopedBar()

ScopedBar::~ScopedBar ( )
inline

Member Function Documentation

◆ tick()

void ScopedBar::tick ( )
inline

Member Data Documentation

◆ annotation

Str ScopedBar::annotation

◆ bar

indicators::BlockProgressBar ScopedBar::bar

◆ count

int ScopedBar::count = 0

◆ max

int ScopedBar::max

◆ start

sc::high_resolution_clock::time_point ScopedBar::start

◆ state

walker_state* ScopedBar::state

◆ timed

bool ScopedBar::timed

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