#include <reporter.h>
Collaboration diagram for report_manager:
Public Member Functions | |
report_manager () | |
C'tor. | |
~report_manager () | |
D'tor. | |
void | init (void) |
Initialize. | |
const bool | initialized (void) const |
Return whether or not this object has been inintialized. | |
void | clear (void) |
Clear all values. | |
void | set_total_time (const timer &a_class) |
Report the overall RVM time. | |
vault_report & | vault (void) |
Return the vault reporter object. | |
jobs_report & | jobs (void) |
Return the jobs reporter object. | |
void | print_report (void) |
Print report to standard output. | |
void | file_report (void) |
Save report to a file. | |
void | write_report (std::ostream &a_out) |
Write report to the given stream. | |
void | format_synopsis (table &a_table) |
Generate a synopsis report. | |
Private Member Functions | |
void | mf_write_header (std::ostream &a_out) |
void | mf_write_synopsis (std::ostream &a_out) |
Private Attributes | |
bool | m_initialized |
timer | m_total_time |
vault_report | m_vault |
jobs_report | m_jobs |
Process reports coming in both from the parent and from children, then format and print a finalized report.
Definition at line 205 of file reporter.h.
|
C'tor.
Definition at line 885 of file reporter.cc. |
|
D'tor.
Definition at line 891 of file reporter.cc. |
|
Clear all values.
Definition at line 911 of file reporter.cc. References jobs_report::clear(), vault_report::clear(), timer::clear(), m_total_time, and m_vault. Referenced by test_rvm(). |
Here is the call graph for this function:
|
Save report to a file.
Definition at line 957 of file reporter.cc. References config, ERROR, exists(), initialized(), INTERNAL_ERROR, configuration_manager::log_dir(), logger, timestamp::str(), configuration_manager::timestamp(), TRY_nomem, log_manager::write(), and write_report(). Referenced by main(), and test_rvm(). |
Here is the call graph for this function:
|
Generate a synopsis report.
Definition at line 1025 of file reporter.cc. References estring::align(), timer::duration(), m_total_time, timer::started_at(), timer::stopped_at(), and table_endl(). Referenced by mf_write_synopsis(). |
Here is the call graph for this function:
|
Initialize.
Definition at line 896 of file reporter.cc. References config, configuration_manager::initialized(), and INTERNAL_ERROR. Referenced by main(), and test_rvm(). |
Here is the call graph for this function:
|
Return whether or not this object has been inintialized.
Definition at line 905 of file reporter.cc. Referenced by file_report(), print_report(), and set_total_time(). |
|
Return the jobs reporter object.
Definition at line 934 of file reporter.cc. Referenced by archive_manager::archive(), and mf_write_synopsis(). |
|
Definition at line 1051 of file reporter.cc. References estring::fillchar(), table_endl(), and VERSION. Referenced by write_report(). |
Here is the call graph for this function:
|
Definition at line 1068 of file reporter.cc. References jobs_report::format_synopsis(), vault_report::format_synopsis(), format_synopsis(), jobs(), and vault(). Referenced by write_report(). |
Here is the call graph for this function:
|
Print report to standard output.
Definition at line 940 of file reporter.cc. References initialized(), INTERNAL_ERROR, logger, log_manager::write(), and write_report(). Referenced by main(). |
Here is the call graph for this function:
|
Report the overall RVM time.
Definition at line 919 of file reporter.cc. References initialized(), INTERNAL_ERROR, and m_total_time. Referenced by main(), and test_rvm(). |
Here is the call graph for this function:
|
Return the vault reporter object.
Definition at line 928 of file reporter.cc. References m_vault. Referenced by archive_manager::archive(), vault_manager::delete_oldest_archive(), archive_manager::init(), mf_write_synopsis(), and vault_manager::overflow(). |
|
Write report to the given stream.
Definition at line 1002 of file reporter.cc. References m_vault, mf_write_header(), mf_write_synopsis(), vault_report::write_report(), and jobs_report::write_report(). Referenced by file_report(), and print_report(). |
Here is the call graph for this function:
|
Definition at line 227 of file reporter.h. |
|
Definition at line 230 of file reporter.h. |
|
Definition at line 228 of file reporter.h. Referenced by clear(), format_synopsis(), and set_total_time(). |
|
Definition at line 229 of file reporter.h. Referenced by clear(), vault(), and write_report(). |