#include <ConfigUpdaterManager.h>
Public Member Functions | ||||
void | update (const SctData::TestResult &t, Sct_SctApi::SctApiIPC_ptr api, bool force=false) const | |||
Convenience method calls getUpdater then update on the returned ConfigUpdater. | ||||
ConfigUpdater & | getUpdater (const string &className) const | |||
Get the ConfigUpdater for a given TestResult
| ||||
bool | setUpdater (const string &testName, shared_ptr< ConfigUpdater > updater) | |||
Sets the ConfigUpdater for a Test name. | ||||
Static Public Member Functions | ||||
static ConfigUpdaterManager & | instance () | |||
Get the instance of the ConfigUpdaterManager. | ||||
Private Types | ||||
typedef map< string, shared_ptr< ConfigUpdater > > | ConfigUpdaterMap | |||
Map between strings and ConfigUpdaters. | ||||
Private Member Functions | ||||
ConfigUpdaterManager () | ||||
Only we can make them - this is a singleton. | ||||
Private Attributes | ||||
ConfigUpdaterMap | updaterMap | |||
And our instance of it. |
Definition at line 29 of file ConfigUpdaterManager.h.
|
Map between strings and ConfigUpdaters.
Definition at line 63 of file ConfigUpdaterManager.h. |
|
Only we can make them - this is a singleton.
Definition at line 14 of file ConfigUpdaterManager.cpp. |
|
Get the ConfigUpdater for a given TestResult
Definition at line 33 of file ConfigUpdaterManager.cpp. References updaterMap. Referenced by update(). |
|
Get the instance of the ConfigUpdaterManager.
Definition at line 17 of file ConfigUpdaterManager.cpp. Referenced by SctCalibrationController::CalibrationControllerImpl::applyChanges(), and SctCalibrationController::CalibrationControllerImpl::updateWith(). |
|
Sets the ConfigUpdater for a Test name. If there is already a ConfigUpdater for the given name, then the map is not updated
Definition at line 47 of file ConfigUpdaterManager.cpp. References updaterMap. |
|
Convenience method calls getUpdater then update on the returned ConfigUpdater.
Definition at line 22 of file ConfigUpdaterManager.cpp. References Sct::Streamable::getClassName(), SctData::TestResult::getPassed(), and getUpdater(). Referenced by SctCalibrationController::CalibrationControllerImpl::applyChanges(), and SctCalibrationController::CalibrationControllerImpl::updateWith(). Here is the call graph for this function: ![]() |
|
And our instance of it.
Definition at line 64 of file ConfigUpdaterManager.h. Referenced by getUpdater(), and setUpdater(). |