• Home
  • Raw
  • Download

Lines Matching refs:strError

357 bool CParameterMgr::load(string &strError)  in load()  argument
364 if (!loadFrameworkConfiguration(strError)) { in load()
369 if (!loadSubsystems(strError)) { in load()
375 if (!loadStructure(strError)) { in load()
381 if (!loadSettings(strError)) { in load()
387 if (!init(strError)) { in load()
424 return handleRemoteProcessingInterface(strError); in load()
427 bool CParameterMgr::loadFrameworkConfiguration(string &strError) in loadFrameworkConfiguration() argument
432 CXmlElementSerializingContext elementSerializingContext(strError); in loadFrameworkConfiguration()
455 strError = "Parameter Framework Configuration: couldn't find SubsystemPlugins element"; in loadFrameworkConfiguration()
488 bool CParameterMgr::loadStructure(string &strError) in loadStructure() argument
502 strError = "No StructureDescriptionFileLocation element found for SystemClass " + in loadStructure()
509 CParameterAccessContext accessContext(strError); in loadStructure()
510 CXmlParameterSerializingContext parameterBuildContext(accessContext, strError); in loadStructure()
540 bool CParameterMgr::loadSettings(string &strError) in loadSettings() argument
554 strError = strLoadError; in loadSettings()
561 bool CParameterMgr::loadSettingsFromConfigFile(string &strError) in loadSettingsFromConfigFile() argument
584 strError = "No ConfigurableDomainsFileLocation element found for SystemClass " + in loadSettingsFromConfigFile()
597 CXmlDomainImportContext xmlDomainImportContext(strError, true, *getSystemClass()); in loadSettingsFromConfigFile()
652 bool CParameterMgr::init(string &strError) in init() argument
654 return base::init(strError); in init()
698 string &strError) const in getConfigurableElement()
703 if (!pathNavigator.navigateThrough(getConstSystemClass()->getName(), strError)) { in getConfigurableElement()
713 strError = "Path not found: " + strPath; in getConfigurableElement()
725 CConfigurableElement *CParameterMgr::getConfigurableElement(const string &strPath, string &strError) in getConfigurableElement() argument
730 return const_cast<CConfigurableElement *>(constThis->getConfigurableElement(strPath, strError)); in getConfigurableElement()
734 CParameterHandle *CParameterMgr::createParameterHandle(const string &strPath, string &strError) in createParameterHandle() argument
736 CConfigurableElement *pConfigurableElement = getConfigurableElement(strPath, strError); in createParameterHandle()
741 strError = "Element not found: " + strPath; in createParameterHandle()
748 strError = "Not a parameter: " + strPath; in createParameterHandle()
1237 string strError; in dumpDomainsCommandProcess() local
1238 utility::ErrorContext errorContext(strError); in dumpDomainsCommandProcess()
1632 string strError; in dumpElementCommandProcess() local
1634 CParameterAccessContext parameterAccessContext(strError, _pMainParameterBlackboard, in dumpElementCommandProcess()
1785 string strError; in getConfigurationParameterCommandProcess() local
1788 remoteCommand.getArgument(2), strOutputValue, false, strError)) { in getConfigurationParameterCommandProcess()
1790 strResult = strError; in getConfigurationParameterCommandProcess()
1960 string &strError) in accessParameterValue() argument
1963 if (bSet && !checkTuningModeOn(strError)) { in accessParameterValue()
1969 CParameterAccessContext parameterAccessContext(strError, _pMainParameterBlackboard, in accessParameterValue()
1978 return accessValue(parameterAccessContext, strPath, strValue, bSet, strError); in accessParameterValue()
2011 string &strValue, bool bSet, string &strError) in accessConfigurationValue() argument
2017 if (!elementLocator.locate(strPath, &pLocatedElement, strError)) { in accessConfigurationValue()
2036 strError); in accessConfigurationValue()
2039 warning() << "Fail: " << strError; in accessConfigurationValue()
2051 strError, pConfigurationBlackboard, _bValueSpaceIsRaw, _bOutputRawFormatIsHex, baseOffset); in accessConfigurationValue()
2063 if (!accessValue(parameterAccessContext, strPath, strValue, bSet, strError)) { in accessConfigurationValue()
2082 return accessValue(parameterAccessContext, strPath, strValue, bSet, strError); in accessConfigurationValue()
2091 string &strError) in accessValue() argument
2099 if (!pathNavigator.navigateThrough(getConstSystemClass()->getName(), strError)) { in accessValue()
2101 parameterAccessContext.setError(strError); in accessValue()
2112 bool CParameterMgr::setTuningMode(bool bOn, string &strError) in setTuningMode() argument
2115 strError = "Tuning mode is already in the state requested"; in setTuningMode()
2121 strError = "Tuning prohibited"; in setTuningMode()
2171 bool CParameterMgr::setAutoSync(bool bAutoSyncOn, string &strError) in setAutoSync() argument
2178 if (!sync(strError)) { in setAutoSync()
2196 bool CParameterMgr::sync(string &strError) in sync() argument
2201 strError = "Feature unavailable when Auto Sync is on"; in sync()
2215 strError = utility::asString(error); in sync()
2223 bool CParameterMgr::createDomain(const string &strName, string &strError) in createDomain() argument
2227 if (!checkTuningModeOn(strError)) { in createDomain()
2233 return logResult(getConfigurableDomains()->createDomain(strName, strError), strError); in createDomain()
2236 bool CParameterMgr::deleteDomain(const string &strName, string &strError) in deleteDomain() argument
2241 if (!checkTuningModeOn(strError)) { in deleteDomain()
2243 warning() << "Fail: " << strError; in deleteDomain()
2248 return logResult(getConfigurableDomains()->deleteDomain(strName, strError), strError); in deleteDomain()
2251 bool CParameterMgr::renameDomain(const string &strName, const string &strNewName, string &strError) in renameDomain() argument
2256 return logResult(getConfigurableDomains()->renameDomain(strName, strNewName, strError), in renameDomain()
2257 strError); in renameDomain()
2260 bool CParameterMgr::deleteAllDomains(string &strError) in deleteAllDomains() argument
2265 if (!checkTuningModeOn(strError)) { in deleteAllDomains()
2267 warning() << "Fail: " << strError; in deleteAllDomains()
2302 string &strError) in createConfiguration() argument
2307 if (!checkTuningModeOn(strError)) { in createConfiguration()
2309 warning() << "Fail: " << strError; in createConfiguration()
2315 strDomain, strConfiguration, _pMainParameterBlackboard, strError), in createConfiguration()
2316 strError); in createConfiguration()
2319 const string &strNewConfiguration, string &strError) in renameConfiguration() argument
2325 strNewConfiguration, strError), in renameConfiguration()
2326 strError); in renameConfiguration()
2330 string &strError) in deleteConfiguration() argument
2336 if (!checkTuningModeOn(strError)) { in deleteConfiguration()
2338 warning() << "Fail:" << strError; in deleteConfiguration()
2344 getConfigurableDomains()->deleteConfiguration(strDomain, strConfiguration, strError), in deleteConfiguration()
2345 strError); in deleteConfiguration()
2351 string strError; in restoreConfiguration() local
2355 if (!checkTuningModeOn(strError)) { in restoreConfiguration()
2357 errors.push_back(strError); in restoreConfiguration()
2358 warning() << "Fail:" << strError; in restoreConfiguration()
2366 strError); in restoreConfiguration()
2370 string &strError) in saveConfiguration() argument
2375 if (!checkTuningModeOn(strError)) { in saveConfiguration()
2377 warning() << "Fail:" << strError; in saveConfiguration()
2383 strDomain, strConfiguration, _pMainParameterBlackboard, strError), in saveConfiguration()
2384 strError); in saveConfiguration()
2390 string &strError) in addConfigurableElementToDomain() argument
2395 if (!checkTuningModeOn(strError)) { in addConfigurableElementToDomain()
2397 warning() << "Fail: " << strError; in addConfigurableElementToDomain()
2405 if (!elementLocator.locate(strConfigurableElementPath, &pLocatedElement, strError)) { in addConfigurableElementToDomain()
2407 warning() << "Fail: " << strError; in addConfigurableElementToDomain()
2426 strError = utility::asString(infos); in addConfigurableElementToDomain()
2432 string &strError) in removeConfigurableElementFromDomain() argument
2438 if (!checkTuningModeOn(strError)) { in removeConfigurableElementFromDomain()
2440 warning() << "Fail:" << strError; in removeConfigurableElementFromDomain()
2448 if (!elementLocator.locate(strConfigurableElementPath, &pLocatedElement, strError)) { in removeConfigurableElementFromDomain()
2450 warning() << "Fail:" << strError; in removeConfigurableElementFromDomain()
2460 strDomain, pConfigurableElement, strError), in removeConfigurableElementFromDomain()
2461 strError); in removeConfigurableElementFromDomain()
2465 string &strError) in split() argument
2470 if (!checkTuningModeOn(strError)) { in split()
2472 warning() << "Fail:" << strError; in split()
2480 if (!elementLocator.locate(strConfigurableElementPath, &pLocatedElement, strError)) { in split()
2482 warning() << "Fail: " << strError; in split()
2500 strError = utility::asString(infos); in split()
2506 string &strError) in setElementSequence() argument
2509 if (!checkTuningModeOn(strError)) { in setElementSequence()
2515 astrNewElementSequence, strError); in setElementSequence()
2525 const string &strApplicationRule, string &strError) in setApplicationRule() argument
2529 getConstSelectionCriteria()->getSelectionCriteriaDefinition(), strError); in setApplicationRule()
2533 string &strError) in clearApplicationRule() argument
2535 return getConfigurableDomains()->clearApplicationRule(strDomain, strConfiguration, strError); in clearApplicationRule()
2713 bool CParameterMgr::checkTuningModeOn(string &strError) const in checkTuningModeOn()
2718 strError = "Tuning Mode must be on"; in checkTuningModeOn()
2847 bool CParameterMgr::handleRemoteProcessingInterface(string &strError) in handleRemoteProcessingInterface() argument
2862 strError = string("ParameterMgr: Unable to create Remote Processor Server: ") + e.what(); in handleRemoteProcessingInterface()
2867 strError = "ParameterMgr: Unable to create Remote Processor Server"; in handleRemoteProcessingInterface()
2871 if (!_pRemoteProcessorServer->start(strError)) { in handleRemoteProcessingInterface()
2874 strError = oss.str() + ": " + strError; in handleRemoteProcessingInterface()