Lines Matching refs:strResult
862 const IRemoteCommand & /*command*/, string &strResult) in versionCommandProcess() argument
865 strResult = getVersion(); in versionCommandProcess()
872 const IRemoteCommand & /*command*/, string &strResult) in statusCommandProcess() argument
879 utility::appendTitle(strResult, "General:"); in statusCommandProcess()
881 strResult += "System Class: "; in statusCommandProcess()
882 strResult += pSystemClass->getName(); in statusCommandProcess()
883 strResult += "\n"; in statusCommandProcess()
886 strResult += "Tuning Mode: "; in statusCommandProcess()
887 strResult += tuningModeOn() ? "on" : "off"; in statusCommandProcess()
888 strResult += "\n"; in statusCommandProcess()
891 strResult += "Value Space: "; in statusCommandProcess()
892 strResult += valueSpaceIsRaw() ? "raw" : "real"; in statusCommandProcess()
893 strResult += "\n"; in statusCommandProcess()
896 strResult += "Output Raw Format: "; in statusCommandProcess()
897 strResult += outputRawFormatIsHex() ? "hex" : "dec"; in statusCommandProcess()
898 strResult += "\n"; in statusCommandProcess()
901 strResult += "Auto Sync: "; in statusCommandProcess()
902 strResult += autoSyncOn() ? "on" : "off"; in statusCommandProcess()
903 strResult += "\n"; in statusCommandProcess()
906 utility::appendTitle(strResult, "Subsystems:"); in statusCommandProcess()
909 strResult += strSubsystemList; in statusCommandProcess()
912 utility::appendTitle(strResult, "Last Applied [Pending] Configurations:"); in statusCommandProcess()
915 strResult += strLastAppliedConfigurations; in statusCommandProcess()
918 utility::appendTitle(strResult, "Selection Criteria:"); in statusCommandProcess()
922 strResult += utility::asString(lstrSelectionCriteria); in statusCommandProcess()
929 const IRemoteCommand &remoteCommand, string &strResult) in setTuningModeCommandProcess() argument
933 if (setTuningMode(true, strResult)) { in setTuningModeCommandProcess()
939 if (setTuningMode(false, strResult)) { in setTuningModeCommandProcess()
951 const IRemoteCommand & /*command*/, string &strResult) in getTuningModeCommandProcess() argument
953 strResult = tuningModeOn() ? "on" : "off"; in getTuningModeCommandProcess()
982 const IRemoteCommand & /*command*/, string &strResult) in getValueSpaceCommandProcess() argument
984 strResult = valueSpaceIsRaw() ? "raw" : "real"; in getValueSpaceCommandProcess()
1013 const IRemoteCommand & /*command*/, string &strResult) in getOutputRawFormatCommandProcess() argument
1015 strResult = outputRawFormatIsHex() ? "hex" : "dec"; in getOutputRawFormatCommandProcess()
1022 const IRemoteCommand &remoteCommand, string &strResult) in setAutoSyncCommandProcess() argument
1026 if (setAutoSync(true, strResult)) { in setAutoSyncCommandProcess()
1032 if (setAutoSync(false, strResult)) { in setAutoSyncCommandProcess()
1044 const IRemoteCommand & /*command*/, string &strResult) in getAutoSyncCommandProcess() argument
1046 strResult = autoSyncOn() ? "on" : "off"; in getAutoSyncCommandProcess()
1052 const IRemoteCommand &, string &strResult) in syncCommandProcess() argument
1054 return sync(strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed; in syncCommandProcess()
1059 const IRemoteCommand &remoteCommand, string &strResult) in listCriteriaCommandProcess() argument
1090 CXmlSerializingContext{strResult}, strResult)) { in listCriteriaCommandProcess()
1106 strResult += utility::asString(lstrResult); in listCriteriaCommandProcess()
1114 const IRemoteCommand & /*command*/, string &strResult) in listDomainsCommandProcess() argument
1116 getConfigurableDomains()->listDomains(strResult); in listDomainsCommandProcess()
1122 const IRemoteCommand &remoteCommand, string &strResult) in createDomainCommandProcess() argument
1124 return createDomain(remoteCommand.getArgument(0), strResult) ? CCommandHandler::EDone in createDomainCommandProcess()
1129 const IRemoteCommand &remoteCommand, string &strResult) in deleteDomainCommandProcess() argument
1131 return deleteDomain(remoteCommand.getArgument(0), strResult) ? CCommandHandler::EDone in deleteDomainCommandProcess()
1136 const IRemoteCommand & /*command*/, string &strResult) in deleteAllDomainsCommandProcess() argument
1138 return deleteAllDomains(strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed; in deleteAllDomainsCommandProcess()
1142 const IRemoteCommand &remoteCommand, string &strResult) in renameDomainCommandProcess() argument
1144 return renameDomain(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) in renameDomainCommandProcess()
1150 const IRemoteCommand &remoteCommand, string &strResult) in setSequenceAwarenessCommandProcess() argument
1168 return setSequenceAwareness(remoteCommand.getArgument(0), bSequenceAware, strResult) in setSequenceAwarenessCommandProcess()
1174 const IRemoteCommand &remoteCommand, string &strResult) in getSequenceAwarenessCommandProcess() argument
1179 if (!getSequenceAwareness(remoteCommand.getArgument(0), bSequenceAware, strResult)) { in getSequenceAwarenessCommandProcess()
1184 strResult = bSequenceAware ? "true" : "false"; in getSequenceAwarenessCommandProcess()
1190 const IRemoteCommand &remoteCommand, string &strResult) in listDomainElementsCommandProcess() argument
1192 return getConfigurableDomains()->listDomainElements(remoteCommand.getArgument(0), strResult) in listDomainElementsCommandProcess()
1198 const IRemoteCommand &remoteCommand, string &strResult) in addElementCommandProcess() argument
1201 remoteCommand.getArgument(1), strResult) in addElementCommandProcess()
1207 const IRemoteCommand &remoteCommand, string &strResult) in removeElementCommandProcess() argument
1210 remoteCommand.getArgument(1), strResult) in removeElementCommandProcess()
1216 const IRemoteCommand &remoteCommand, string &strResult) in splitDomainCommandProcess() argument
1218 return split(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) in splitDomainCommandProcess()
1225 const IRemoteCommand &remoteCommand, string &strResult) in listConfigurationsCommandProcess() argument
1228 strResult) in listConfigurationsCommandProcess()
1234 const IRemoteCommand & /*command*/, string &strResult) in dumpDomainsCommandProcess() argument
1241 strResult = getConstConfigurableDomains()->dumpContent(errorContext); in dumpDomainsCommandProcess()
1247 const IRemoteCommand &remoteCommand, string &strResult) in createConfigurationCommandProcess() argument
1250 strResult) in createConfigurationCommandProcess()
1256 const IRemoteCommand &remoteCommand, string &strResult) in deleteConfigurationCommandProcess() argument
1259 strResult) in deleteConfigurationCommandProcess()
1265 const IRemoteCommand &remoteCommand, string &strResult) in renameConfigurationCommandProcess() argument
1268 remoteCommand.getArgument(2), strResult) in renameConfigurationCommandProcess()
1274 const IRemoteCommand &remoteCommand, string &strResult) in saveConfigurationCommandProcess() argument
1276 return saveConfiguration(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) in saveConfigurationCommandProcess()
1282 const IRemoteCommand &remoteCommand, string &strResult) in restoreConfigurationCommandProcess() argument
1287 strResult = utility::asString(result); in restoreConfigurationCommandProcess()
1295 const IRemoteCommand &remoteCommand, string &strResult) in setElementSequenceCommandProcess() argument
1307 astrNewElementSequence, strResult) in setElementSequenceCommandProcess()
1313 const IRemoteCommand &remoteCommand, string &strResult) in getElementSequenceCommandProcess() argument
1317 remoteCommand.getArgument(1), strResult) in getElementSequenceCommandProcess()
1323 const IRemoteCommand &remoteCommand, string &strResult) in setRuleCommandProcess() argument
1328 strResult) in setRuleCommandProcess()
1334 const IRemoteCommand &remoteCommand, string &strResult) in clearRuleCommandProcess() argument
1338 strResult) in clearRuleCommandProcess()
1344 const IRemoteCommand &remoteCommand, string &strResult) in getRuleCommandProcess() argument
1347 return getApplicationRule(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) in getRuleCommandProcess()
1354 const IRemoteCommand &remoteCommand, string &strResult) in listElementsCommandProcess() argument
1360 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in listElementsCommandProcess()
1374 strResult += pLocatedElement->listQualifiedPaths(false); in listElementsCommandProcess()
1381 const IRemoteCommand &remoteCommand, string &strResult) in listParametersCommandProcess() argument
1387 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in listParametersCommandProcess()
1401 strResult += pLocatedElement->listQualifiedPaths(true); in listParametersCommandProcess()
1407 const IRemoteCommand &remoteCommand, string &strResult) in getElementStructureXMLCommandProcess() argument
1413 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in getElementStructureXMLCommandProcess()
1419 CParameterAccessContext accessContext(strResult); in getElementStructureXMLCommandProcess()
1421 CXmlParameterSerializingContext{accessContext, strResult}, in getElementStructureXMLCommandProcess()
1422 strResult)) { in getElementStructureXMLCommandProcess()
1431 const IRemoteCommand &remoteCommand, std::string &strResult) in getElementBytesCommandProcess() argument
1437 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in getElementBytesCommandProcess()
1461 strResult = ostream.str(); in getElementBytesCommandProcess()
1462 if (not strResult.empty()) { in getElementBytesCommandProcess()
1464 strResult.pop_back(); in getElementBytesCommandProcess()
1471 const IRemoteCommand &remoteCommand, string &strResult) in setElementBytesCommandProcess() argument
1474 if (!checkTuningModeOn(strResult)) { in setElementBytesCommandProcess()
1484 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in setElementBytesCommandProcess()
1509 strResult = e.what(); in setElementBytesCommandProcess()
1515 if (!setSettingsAsBytes(*pConfigurableElement, bytes, strResult)) { in setElementBytesCommandProcess()
1621 const IRemoteCommand &remoteCommand, string &strResult) in dumpElementCommandProcess() argument
1627 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in dumpElementCommandProcess()
1638 strResult = pLocatedElement->dumpContent(parameterAccessContext); in dumpElementCommandProcess()
1644 const IRemoteCommand &remoteCommand, string &strResult) in getElementSizeCommandProcess() argument
1650 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in getElementSizeCommandProcess()
1660 strResult = pConfigurableElement->getFootprintAsString(); in getElementSizeCommandProcess()
1666 const IRemoteCommand &remoteCommand, string &strResult) in showPropertiesCommandProcess() argument
1672 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in showPropertiesCommandProcess()
1682 pConfigurableElement->showProperties(strResult); in showPropertiesCommandProcess()
1688 const IRemoteCommand &remoteCommand, string &strResult) in getParameterCommandProcess() argument
1692 if (!accessParameterValue(remoteCommand.getArgument(0), strValue, false, strResult)) { in getParameterCommandProcess()
1697 strResult = strValue; in getParameterCommandProcess()
1703 const IRemoteCommand &remoteCommand, string &strResult) in setParameterCommandProcess() argument
1708 return accessParameterValue(remoteCommand.getArgument(0), strValue, true, strResult) in setParameterCommandProcess()
1714 const IRemoteCommand &remoteCommand, string &strResult) in listBelongingDomainsCommandProcess() argument
1720 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in listBelongingDomainsCommandProcess()
1730 pConfigurableElement->listBelongingDomains(strResult); in listBelongingDomainsCommandProcess()
1736 const IRemoteCommand &remoteCommand, string &strResult) in listAssociatedDomainsCommandProcess() argument
1742 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) { in listAssociatedDomainsCommandProcess()
1752 pConfigurableElement->listAssociatedDomains(strResult); in listAssociatedDomainsCommandProcess()
1758 const IRemoteCommand & /*command*/, string &strResult) in listAssociatedElementsCommandProcess() argument
1760 getConfigurableDomains()->listAssociatedElements(strResult); in listAssociatedElementsCommandProcess()
1766 const IRemoteCommand & /*command*/, string &strResult) in listConflictingElementsCommandProcess() argument
1768 getConfigurableDomains()->listConflictingElements(strResult); in listConflictingElementsCommandProcess()
1774 const IRemoteCommand & /*command*/, string &strResult) in listRogueElementsCommandProcess() argument
1776 getSystemClass()->listRogueElements(strResult); in listRogueElementsCommandProcess()
1782 getConfigurationParameterCommandProcess(const IRemoteCommand &remoteCommand, string &strResult) in getConfigurationParameterCommandProcess() argument
1790 strResult = strError; in getConfigurationParameterCommandProcess()
1794 strResult = strOutputValue; in getConfigurationParameterCommandProcess()
1800 setConfigurationParameterCommandProcess(const IRemoteCommand &remoteCommand, string &strResult) in setConfigurationParameterCommandProcess() argument
1807 remoteCommand.getArgument(2), strValue, true, strResult); in setConfigurationParameterCommandProcess()
1813 const IRemoteCommand &remoteCommand, string &strResult) in showMappingCommandProcess() argument
1815 if (!getParameterMapping(remoteCommand.getArgument(0), strResult)) { in showMappingCommandProcess()
1825 const IRemoteCommand &remoteCommand, string &strResult) in exportDomainsXMLCommandProcess() argument
1828 return exportDomainsXml(strFileName, false, true, strResult) ? CCommandHandler::EDone in exportDomainsXMLCommandProcess()
1833 const IRemoteCommand &remoteCommand, string &strResult) in importDomainsXMLCommandProcess() argument
1835 return importDomainsXml(remoteCommand.getArgument(0), false, true, strResult) in importDomainsXMLCommandProcess()
1842 string &strResult) in exportDomainsWithSettingsXMLCommandProcess() argument
1845 return exportDomainsXml(strFileName, true, true, strResult) ? CCommandHandler::EDone in exportDomainsWithSettingsXMLCommandProcess()
1861 string &strResult) in importDomainsWithSettingsXMLCommandProcess() argument
1863 return importDomainsXml(remoteCommand.getArgument(0), true, true, strResult) in importDomainsWithSettingsXMLCommandProcess()
1870 string &strResult) in importDomainWithSettingsXMLCommandProcess() argument
1886 return importSingleDomainXml(remoteCommand.getArgument(0), bOverwrite, true, true, strResult) in importDomainWithSettingsXMLCommandProcess()
1892 getDomainsWithSettingsXMLCommandProcess(const IRemoteCommand & /*command*/, string &strResult) in getDomainsWithSettingsXMLCommandProcess() argument
1894 if (!exportDomainsXml(strResult, true, false, strResult)) { in getDomainsWithSettingsXMLCommandProcess()
1903 const IRemoteCommand &remoteCommand, string &strResult) in getDomainWithSettingsXMLCommandProcess() argument
1907 return exportSingleDomainXml(strResult, strDomainName, true, false, strResult) in getDomainWithSettingsXMLCommandProcess()
1913 setDomainsWithSettingsXMLCommandProcess(const IRemoteCommand &remoteCommand, string &strResult) in setDomainsWithSettingsXMLCommandProcess() argument
1915 return importDomainsXml(remoteCommand.getArgument(0), true, false, strResult) in setDomainsWithSettingsXMLCommandProcess()
1942 const IRemoteCommand & /*command*/, string &strResult) in getSystemClassXMLCommandProcess() argument
1948 CParameterAccessContext accessContext(strResult); in getSystemClassXMLCommandProcess()
1950 CXmlParameterSerializingContext{accessContext, strResult}, in getSystemClassXMLCommandProcess()
1951 strResult)) { in getSystemClassXMLCommandProcess()
1982 bool CParameterMgr::getParameterMapping(const string &strPath, string &strResult) const in getParameterMapping()
1985 const CConfigurableElement *pConfigurableElement = getConfigurableElement(strPath, strResult); in getParameterMapping()
1998 strResult = "Unable to find the Subsystem containing the parameter"; in getParameterMapping()
2003 strResult = pSubsystem->getMapping(configurableElementPath); in getParameterMapping()
2279 string &strResult) in setSequenceAwareness() argument
2284 if (!checkTuningModeOn(strResult)) { in setSequenceAwareness()
2286 warning() << "Fail: " << strResult; in setSequenceAwareness()
2291 getConfigurableDomains()->setSequenceAwareness(strName, bSequenceAware, strResult), in setSequenceAwareness()
2292 strResult); in setSequenceAwareness()
2296 string &strResult) in getSequenceAwareness() argument
2298 return getConfigurableDomains()->getSequenceAwareness(strName, bSequenceAware, strResult); in getSequenceAwareness()
2519 string &strResult) in getApplicationRule() argument
2521 return getConfigurableDomains()->getApplicationRule(strDomain, strConfiguration, strResult); in getApplicationRule()
2952 string &strResult) const in exportElementToXMLString()
2964 strResult = output.str(); in exportElementToXMLString()