MCPcopy Create free account
hub / github.com/KTH-RPL/dufomap / tick

Method tick

src/indicators.hpp:2073–2084  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2071 }
2072
2073 void tick() {
2074 {
2075 std::lock_guard<std::mutex> lock{mutex_};
2076 const auto type = get_value<details::ProgressBarOption::progress_type>();
2077 if (type == ProgressType::incremental)
2078 progress_ += 1;
2079 else
2080 progress_ -= 1;
2081 }
2082 save_start_time();
2083 print_progress();
2084 }
2085
2086 size_t current() {
2087 std::lock_guard<std::mutex> lock{mutex_};

Callers 1

tickMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected