Home | Develop | Download | Contact
RaProgress.hpp
1/*
2 * RaProgress.hpp
3 *
4 * Copyright 2018 Fernando Pujaico Rivera <fernando.pujaico.rivera@gmail.com>
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
20 *
21 */
22
30#ifndef __PDS_RAPROGRESS_HPP__
31#define __PDS_RAPROGRESS_HPP__
32
33#include <string>
34#include <list>
35
36
46namespace Pds{
47
52namespace Ra{
53
54
81 void ProgressBar(unsigned int BarSize,
82 unsigned int n,
83 unsigned int N,
84 bool Jump,
85 std::string str="");
86
109 void ProgressBarWithTime(unsigned int BarSize,
110 unsigned int n,
111 unsigned int N,
112 bool Jump,
113 std::string str);
114
115
146 void ProgressPercent( unsigned int n,
147 unsigned int N,
148 bool Jump,
149 std::string str);
150
172 void ProgressPercentWithTime( unsigned int n,
173 unsigned int N,
174 bool Jump,
175 std::string str);
176
207 void Percent( unsigned int n,
208 unsigned int N,
209 bool Jump,
210 std::string str);
211
233 void PercentWithTime( unsigned int n,
234 unsigned int N,
235 bool Jump,
236 std::string str);
237
242} // namespace Ra
243} // namespace Pds
244
245
250#endif /* __PDS_RATOOLS_HPP__ */
void Percent(unsigned int n, unsigned int N, bool Jump, std::string str)
muestra un porcentaje de progreso en el formato
void ProgressPercent(unsigned int n, unsigned int N, bool Jump, std::string str)
muestra un porcentaje de progreso en el formato
void PercentWithTime(unsigned int n, unsigned int N, bool Jump, std::string str)
muestra un porcentaje de progreso en el formato
void ProgressBarWithTime(unsigned int BarSize, unsigned int n, unsigned int N, bool Jump, std::string str)
muestra una barra de progreso en el formato
void ProgressBar(unsigned int BarSize, unsigned int n, unsigned int N, bool Jump, std::string str="")
muestra una barra de progreso en el formato
void ProgressPercentWithTime(unsigned int n, unsigned int N, bool Jump, std::string str)
muestra un porcentaje de progreso en el formato
Nombre de espacio para Pds (Procesamiento Digital de Senales)
Definition: AbstractRV.hpp:42

Enlaces de interés

HomePage Bazaar Download Bug report Ayuda Developer Feed