|
Mantid
|
helper class to keep track of progress More...
#include <LoadANSTOHelper.h>
Public Member Functions | |
| void | complete () |
| ProgressTracker (API::Progress &progBar, const char *msg, int64_t target, size_t count) | |
| void | update (int64_t position) |
| ~ProgressTracker () | |
Private Attributes | |
| size_t | m_count |
| const std::string | m_msg |
| int64_t | m_next |
| API::Progress & | m_progBar |
| int64_t | m_step |
helper class to keep track of progress
Definition at line 35 of file LoadANSTOHelper.h.
| Mantid::DataHandling::ANSTO::ProgressTracker::ProgressTracker | ( | API::Progress & | progBar, |
| const char * | msg, | ||
| int64_t | target, | ||
| size_t | count | ||
| ) |
Definition at line 22 of file LoadANSTOHelper.cpp.
References Mantid::API::Progress::doReport(), m_msg, and m_progBar.
| Mantid::DataHandling::ANSTO::ProgressTracker::~ProgressTracker | ( | ) |
Definition at line 27 of file LoadANSTOHelper.cpp.
References complete().
| void Mantid::DataHandling::ANSTO::ProgressTracker::complete | ( | ) |
Definition at line 47 of file LoadANSTOHelper.cpp.
References m_count, m_msg, m_progBar, and Mantid::Kernel::ProgressBase::reportIncrement().
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadEMU< FD >::prepareEventStorage(), Mantid::DataHandling::LoadPLN::prepareEventStorage(), and ~ProgressTracker().
| void Mantid::DataHandling::ANSTO::ProgressTracker::update | ( | int64_t | position | ) |
Definition at line 28 of file LoadANSTOHelper.cpp.
References m_count, m_msg, m_next, m_progBar, m_step, position, and Mantid::Kernel::ProgressBase::report().
Referenced by Mantid::DataHandling::LoadBBY::exec(), Mantid::DataHandling::LoadBBY::loadEvents(), Mantid::DataHandling::LoadEMU< FD >::prepareEventStorage(), and Mantid::DataHandling::LoadPLN::prepareEventStorage().
|
private |
Definition at line 39 of file LoadANSTOHelper.h.
Referenced by complete(), and update().
|
private |
Definition at line 38 of file LoadANSTOHelper.h.
Referenced by complete(), ProgressTracker(), and update().
|
private |
Definition at line 41 of file LoadANSTOHelper.h.
Referenced by update().
|
private |
Definition at line 43 of file LoadANSTOHelper.h.
Referenced by complete(), ProgressTracker(), and update().
|
private |
Definition at line 40 of file LoadANSTOHelper.h.
Referenced by update().