Class StdTelegram

Inheritance Relationships

Base Type

Class Documentation

class StdTelegram : public gwm::Logger

Public Functions

inline explicit StdTelegram()
inline ~StdTelegram()
inline virtual bool stop() override

Tell the algorithm whether to stop. Yes, stop progress. No, don’t stop progress.

virtual void print(std::string message, LogLevel level, std::string fun_name, std::string file_name) override

Call printer to print a log. Log message Log level Caller function name The file where caller function is defined.

virtual void progress(std::size_t current, std::size_t total, std::string fun_name, std::string file_name) override

Report the progress of this algorithm. Current progress. Total number of progress.

virtual void progress(double percent, std::string fun_name, std::string file_name) override

Report the progress of this algorithm. Current percentage of total progress.