libmoost
|
#include <spinner.hpp>
Public Types | |
typedef size_t | counter_type |
Public Member Functions | |
spinner (size_t msecs=500, std::ostream &out=std::cout) | |
counter_type | operator+= (counter_type const incr) |
counter_type | operator++ () |
counter_type | operator++ (int) |
counter_type | count () const |
counter_type | expected_count () const |
Private Member Functions | |
void | animate () |
Private Attributes | |
std::vector< char > | frames_ |
std::vector< char >::const_iterator | frame_ |
counter_type | counter_ |
size_t const | msecs_ |
std::ostream & | out_ |
boost::posix_time::ptime | ptime_ |
Definition at line 40 of file spinner.hpp.
typedef size_t moost::progress::policy::spinner::counter_type |
Definition at line 43 of file spinner.hpp.
moost::progress::policy::spinner::spinner | ( | size_t | msecs = 500 , |
std::ostream & | out = std::cout |
||
) | [inline] |
Definition at line 45 of file spinner.hpp.
void moost::progress::policy::spinner::animate | ( | ) | [inline, private] |
Definition at line 92 of file spinner.hpp.
counter_type moost::progress::policy::spinner::count | ( | ) | const [inline] |
Definition at line 81 of file spinner.hpp.
counter_type moost::progress::policy::spinner::expected_count | ( | ) | const [inline] |
Definition at line 86 of file spinner.hpp.
counter_type moost::progress::policy::spinner::operator++ | ( | ) | [inline] |
Definition at line 69 of file spinner.hpp.
counter_type moost::progress::policy::spinner::operator++ | ( | int | ) | [inline] |
Definition at line 74 of file spinner.hpp.
counter_type moost::progress::policy::spinner::operator+= | ( | counter_type const | incr | ) | [inline] |
Definition at line 103 of file spinner.hpp.
std::vector<char>::const_iterator moost::progress::policy::spinner::frame_ [private] |
Definition at line 102 of file spinner.hpp.
std::vector<char> moost::progress::policy::spinner::frames_ [private] |
Definition at line 101 of file spinner.hpp.
size_t const moost::progress::policy::spinner::msecs_ [private] |
Definition at line 104 of file spinner.hpp.
std::ostream& moost::progress::policy::spinner::out_ [private] |
Definition at line 105 of file spinner.hpp.
boost::posix_time::ptime moost::progress::policy::spinner::ptime_ [private] |
Definition at line 106 of file spinner.hpp.