occ
Loading...
Searching...
No Matches
occ::core::ProgressTracker Class Reference

#include <progress.h>

Public Member Functions

 ProgressTracker (int total)
 
void set_tty (bool)
 
void update (int progress, int total, const std::string description="")
 
void reset ()
 
void clear ()
 
std::chrono::duration< double > time_taken () const
 

Constructor & Destructor Documentation

◆ ProgressTracker()

occ::core::ProgressTracker::ProgressTracker ( int  total)

Member Function Documentation

◆ clear()

void occ::core::ProgressTracker::clear ( )

◆ reset()

void occ::core::ProgressTracker::reset ( )

◆ set_tty()

void occ::core::ProgressTracker::set_tty ( bool  )

◆ time_taken()

std::chrono::duration< double > occ::core::ProgressTracker::time_taken ( ) const

◆ update()

void occ::core::ProgressTracker::update ( int  progress,
int  total,
const std::string  description = "" 
)

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