#include <SummaryManager.h>
Inheritance diagram for SctData::TestSummary::SummaryManager:
Public Member Functions | |
string | write (const TestResult &t) throw (Sct::IoError, Sct::LogicError) |
For use by clients. | |
void | write (const TestResult &t, ostream &stream) throw (Sct::IoError, Sct::LogicError) |
For use by clients Writes to a given ostream the summary. | |
bool | addWriter (const string &testname, boost::shared_ptr< SummaryWriter > writer) throw (Sct::LogicError) |
concrete SummaryWriters should add themselves to the map using this mechanism | |
boost::shared_ptr< const SummaryWriter > | getWriter (const string &classname) const throw (Sct::LogicError) |
get the appropriateSummaryWriter for the TestResult | |
Static Public Member Functions | |
SummaryManager & | instance () throw () |
get the instance of the singleton | |
Private Types | |
typedef map< string, boost::shared_ptr< const SummaryWriter > > | WriterMap |
Private Member Functions | |
~SummaryManager () | |
do NOT delete the singleton! | |
SummaryManager () | |
Singleton. | |
SummaryManager (ostream &out) throw () | |
not allowed to do this - singleton | |
Private Attributes | |
WriterMap | theMap |
maps TestResult names to SummaryWriters |
Definition at line 39 of file SummaryManager.h.
|
Definition at line 71 of file SummaryManager.h. |
|
do NOT delete the singleton!
Definition at line 22 of file SummaryManager.cpp. |
|
Singleton.
Definition at line 20 of file SummaryManager.cpp. |
|
not allowed to do this - singleton
|
|
concrete SummaryWriters should add themselves to the map using this mechanism
Definition at line 65 of file SummaryManager.cpp. |
|
get the appropriateSummaryWriter for the TestResult
Definition at line 51 of file SummaryManager.cpp. |
|
get the instance of the singleton
Definition at line 24 of file SummaryManager.cpp. Referenced by SctAnalysis::AnalysisAlgorithm::finish(), ArchTrimRangeTestResult::TestSummary(), ArchTimeWalkTestResult::TestSummary(), ArchStrobeDelayTestResult::TestSummary(), ArchPipelineTestResult::TestSummary(), ArchNPtGainTestResult::TestSummary(), ArchNoiseOccupancyTestResult::TestSummary(), ArchNMaskTestResult::TestSummary(), and ArchFullBypassTestResult::TestSummary(). |
|
For use by clients Writes to a given ostream the summary.
Definition at line 35 of file SummaryManager.cpp. References Sct::IoError. |
|
For use by clients. Returns a string containing the Summary. Definition at line 29 of file SummaryManager.cpp. References Sct::IoError, and Sct::File::write(). |
|
maps TestResult names to SummaryWriters
Definition at line 75 of file SummaryManager.h. |