cgv
Loading...
Searching...
No Matches
progression.h
1#pragma once
2
3#include <string>
4#include <cgv/type/standard_types.h>
5
6#include "lib_begin.h"
7
8namespace cgv {
10 namespace utils {
11
13struct CGV_API progression
14{
15 double next_shown;
16 double next_step;
17 double percent;
18 double percent_step;
19 cgv::type::int64_type enumerations;
20public:
24 progression(const std::string& process, size_t total, int count);
26 void init(const std::string& process, size_t total, int count);
28 void step();
29};
30
31 }
32}
33
34#include <cgv/config/lib_end.h>
complete implementation of method actions that only call one method when entering a node
Definition action.h:113
the cgv namespace
Definition print.h:11
progression provides a simple possibility to show progression of process in console.
Definition progression.h:14