Home | History | Annotate | Download | only in parameter

Lines Matching full:strresult

886 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::versionCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
891 strResult = getVersion();
897 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::statusCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
905 CUtility::appendTitle(strResult, "General:");
907 strResult += "System Class: ";
908 strResult += pSystemClass->getName();
909 strResult += "\n";
912 strResult += "Tuning Mode: ";
913 strResult += tuningModeOn() ? "on" : "off";
914 strResult += "\n";
917 strResult += "Value Space: ";
918 strResult += valueSpaceIsRaw() ? "raw" : "real";
919 strResult += "\n";
922 strResult += "Output Raw Format: ";
923 strResult += outputRawFormatIsHex() ? "hex" : "dec";
924 strResult += "\n";
927 strResult += "Auto Sync: ";
928 strResult += autoSyncOn() ? "on" : "off";
929 strResult += "\n";
932 CUtility::appendTitle(strResult, "Subsystems:");
935 strResult += strSubsystemList;
938 CUtility::appendTitle(strResult, "Last Applied [Pending] Configurations:");
941 strResult += strLastAppliedConfigurations;
944 CUtility::appendTitle(strResult, "Selection Criteria:");
950 strResult += strCriteriaStates;
956 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setTuningModeCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
960 if (setTuningMode(true, strResult)) {
966 if (setTuningMode(false, strResult)) {
977 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getTuningModeCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
981 strResult = tuningModeOn() ? "on" : "off";
987 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setValueSpaceCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
989 (void)strResult;
1010 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getValueSpaceCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1014 strResult = valueSpaceIsRaw() ? "raw" : "real";
1020 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setOutputRawFormatCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1022 (void)strResult;
1043 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getOutputRawFormatCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1047 strResult = outputRawFormatIsHex() ? "hex" : "dec";
1053 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setAutoSyncCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1057 if (setAutoSync(true, strResult)) {
1063 if (setAutoSync(false, strResult)) {
1074 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getAutoSyncCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1078 strResult = autoSyncOn() ? "on" : "off";
1083 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::syncCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1087 return sync(strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1091 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listCriteriaCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1120 strResult)) {
1136 CUtility::asString(lstrResult, strResult);
1143 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listDomainsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1147 getConfigurableDomains()->listDomains(strResult);
1152 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::createDomainCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1154 return createDomain(remoteCommand.getArgument(0), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1157 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::deleteDomainCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1159 return deleteDomain(remoteCommand.getArgument(0), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1162 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::deleteAllDomainsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1166 return deleteAllDomains(strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1169 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::renameDomainCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1171 return renameDomain(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ?
1175 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setSequenceAwarenessCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1193 return setSequenceAwareness(remoteCommand.getArgument(0), bSequenceAware, strResult) ?
1197 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getSequenceAwarenessCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1202 if (!getSequenceAwareness(remoteCommand.getArgument(0), bSequenceAware, strResult)) {
1207 strResult = bSequenceAware ? "true" : "false";
1212 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listDomainElementsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1214 return getConfigurableDomains()->listDomainElements(remoteCommand.getArgument(0), strResult) ? CCommandHandler::ESucceeded : CCommandHandler::EFailed;
1217 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::addElementCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1219 return addConfigurableElementToDomain(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1222 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::removeElementCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1224 return removeConfigurableElementFromDomain(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1227 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::splitDomainCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1229 return split(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1233 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listConfigurationsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1235 return getConstConfigurableDomains()->listConfigurations(remoteCommand.getArgument(0), strResult) ? CCommandHandler::ESucceeded : CCommandHandler::EFailed;
1238 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::dumpDomainsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1247 getConstConfigurableDomains()->dumpContent(strResult, errorContext);
1252 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::createConfigurationCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1254 return createConfiguration(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1257 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::deleteConfigurationCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1259 return deleteConfiguration(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1262 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::renameConfigurationCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1265 remoteCommand.getArgument(2), strResult) ?
1269 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::saveConfigurationCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1271 return saveConfiguration(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1274 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::restoreConfigurationCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1279 CUtility::asString(lstrResult, strResult);
1286 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setElementSequenceCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1300 astrNewElementSequence, strResult) ?
1304 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getElementSequenceCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1307 return getConfigurableDomains()->getElementSequence(remoteCommand.getArgument(0), remoteCommand.getArgument(1), strResult) ? CCommandHandler::ESucceeded : CCommandHandler::EFailed;
1310 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setRuleCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1314 remoteCommand.packArguments(2, remoteCommand.getArgumentCount() - 2), strResult) ?
1318 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::clearRuleCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1322 strResult) ?
1326 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getRuleCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1330 strResult) ?
1335 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listElementsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1341 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1346 strResult = string("\n");
1357 strResult += pLocatedElement->listQualifiedPaths(false);
1363 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listParametersCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1369 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1374 strResult = string("\n");
1385 strResult += pLocatedElement->listQualifiedPaths(true);
1390 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::dumpElementCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1396 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1406 pLocatedElement->dumpContent(strResult, parameterAccessContext);
1411 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getElementSizeCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1417 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1426 strResult = pConfigurableElement->getFootprintAsString();
1431 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::showPropertiesCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1437 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1446 pConfigurableElement->showProperties(strResult);
1451 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getParameterCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1455 if (!accessParameterValue(remoteCommand.getArgument(0), strValue, false, strResult)) {
1460 strResult = strValue;
1465 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setParameterCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1470 return accessParameterValue(remoteCommand.getArgument(0), strValue, true, strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1473 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listBelongingDomainsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1479 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1488 pConfigurableElement->listBelongingDomains(strResult);
1493 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listAssociatedDomainsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1499 if (!elementLocator.locate(remoteCommand.getArgument(0), &pLocatedElement, strResult)) {
1508 pConfigurableElement->listAssociatedDomains(strResult);
1513 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listAssociatedElementsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1517 getConfigurableDomains()->listAssociatedElements(strResult);
1522 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listConflictingElementsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1526 getConfigurableDomains()->listConflictingElements(strResult);
1531 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::listRogueElementsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1535 getSystemClass()->listRogueElements(strResult);
1540 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::getConfigurationParameterCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1547 strResult = strError;
1551 strResult = strOutputValue;
1556 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::setConfigurationParameterCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1564 strValue, true, strResult);
1571 string& strResult)
1573 if (!getParameterMapping(remoteCommand.getArgument(0), strResult)) {
1584 const IRemoteCommand& remoteCommand, string& strResult)
1587 return exportDomainsXml(strFileName, false, true, strResult) ?
1593 const IRemoteCommand& remoteCommand, string& strResult)
1595 return importDomainsXml(remoteCommand.getArgument(0), false, true, strResult) ?
1601 const IRemoteCommand& remoteCommand, string& strResult)
1604 return exportDomainsXml(strFileName, true, true, strResult) ?
1618 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::importDomainsWithSettingsXMLCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1620 return importDomainsXml(remoteCommand.getArgument(0), true, true, strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1623 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::importDomainWithSettingsXMLCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1639 return importSingleDomainXml(remoteCommand.getArgument(0), bOverwrite, true, true, strResult) ?
1643 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::exportSettingsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1645 return exportDomainsBinary(remoteCommand.getArgument(0), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1648 CParameterMgr::CCommandHandler::CommandStatus CParameterMgr::importSettingsCommandProcess(const IRemoteCommand& remoteCommand, string& strResult)
1650 return importDomainsBinary(remoteCommand.getArgument(0), strResult) ? CCommandHandler::EDone : CCommandHandler::EFailed;
1655 const IRemoteCommand& remoteCommand, string& strResult)
1659 if (!exportDomainsXml(strResult, true, false, strResult)) {
1669 const IRemoteCommand& remoteCommand, string& strResult)
1673 return exportSingleDomainXml(strResult, strDomainName, true, false, strResult) ?
1679 const IRemoteCommand& remoteCommand, string& strResult)
1681 return importDomainsXml(remoteCommand.getArgument(0), true, false, strResult) ?
1708 const IRemoteCommand& remoteCommand, string& strResult)
1715 if (!exportElementToXMLString(pSystemClass, pSystemClass->getKind(), strResult)) {
1745 bool CParameterMgr::getParameterMapping(const string& strPath, string& strResult) const
1750 if (!pathNavigator.navigateThrough(getConstSystemClass()->getName(), strResult)) {
1756 const CConfigurableElement* pConfigurableElement = getConfigurableElement(strPath, strResult);
1770 strResult = "Unable to find the Subsystem containing the parameter";
1775 strResult = pSubsystem->getMapping(configurableElementPath);
2032 bool CParameterMgr::setSequenceAwareness(const string& strName, bool bSequenceAware, string& strResult)
2035 if (!checkTuningModeOn(strResult)) {
2040 return getConfigurableDomains()->setSequenceAwareness(strName, bSequenceAware, strResult);
2044 string& strResult)
2046 return getConfigurableDomains()->getSequenceAwareness(strName, bSequenceAware, strResult);
2193 string& strResult)
2195 return getConfigurableDomains()->getApplicationRule(strDomain, strConfiguration, strResult);
2623 string& strResult) const
2640 strResult = output.str();
2642 strResult = strError;