HAL
hal::dataflow::ProgressPrinter Class Reference

#include <progress_printer.h>

Collaboration diagram for hal::dataflow::ProgressPrinter:
Collaboration graph

Public Member Functions

 ProgressPrinter (u32 max_message_size=0)
 
void print_progress_to_stderr (float progress, const std::string &message="")
 
void print_progress_to_gui (int percent=-1)
 
void print_message_to_gui (const std::string &message)
 
void clear ()
 
void reset ()
 

Detailed Description

Definition at line 34 of file progress_printer.h.

Constructor & Destructor Documentation

◆ ProgressPrinter()

hal::dataflow::ProgressPrinter::ProgressPrinter ( u32  max_message_size = 0)

Definition at line 16 of file progress_printer.cpp.

References reset().

Member Function Documentation

◆ clear()

void hal::dataflow::ProgressPrinter::clear ( )

◆ print_message_to_gui()

void hal::dataflow::ProgressPrinter::print_message_to_gui ( const std::string &  message)

Definition at line 33 of file progress_printer.cpp.

References message(), and print_progress_to_gui().

◆ print_progress_to_gui()

void hal::dataflow::ProgressPrinter::print_progress_to_gui ( int  percent = -1)

◆ print_progress_to_stderr()

void hal::dataflow::ProgressPrinter::print_progress_to_stderr ( float  progress,
const std::string &  message = "" 
)

◆ reset()

void hal::dataflow::ProgressPrinter::reset ( )

Definition at line 124 of file progress_printer.cpp.

Referenced by ProgressPrinter().


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