28 Q_ASSERT_X(
m_parsed, Q_FUNC_INFO,
"Not yet parsed cmd line arguments");
37 CCoreFacadeConfig runtimeConfig = coreModeToCoreFacadeConfig(coreMode, dBusAddress);
47 return qobject_cast<CSwiftDataApplication *>(CApplication::instance());
55 case CoreModes::Distributed:
return CCoreFacadeConfig(CCoreFacadeConfig::Remote, dBusAddress);
56 case CoreModes::Standalone:
return CCoreFacadeConfig(CCoreFacadeConfig::Local, dBusAddress);
break;
58 Q_ASSERT_X(
false, Q_FUNC_INFO,
"Not handled core mode");
Specialized GUI application for swift pilot client.
CSwiftDataApplication * instance()
Single instance.
virtual bool parsingHookIn()
Parsing of special CMD args.
virtual swift::misc::CStatusMessageList startHookIn()
Start facade by cmd arguments.
CSwiftDataApplication()
Constructor.
QString getParserValue(const QString &option) const
Delegates to QCommandLineParser::value.
bool m_parsed
Parsing accomplished?
bool isParserOptionSet(const QString &option) const
Delegates to QCommandLineParser::isSet.
QString getCmdDBusAddressValue() const
DBus address from CMD line, otherwise "".
swift::misc::CStatusMessageList initContextsAndStartCoreFacade(const CCoreFacadeConfig &coreConfig)
Init the contexts part and start core facade.
Configuration object for the contexts.
Description of a swift application.
void push_back(const T &value)
Appends an element at the end of the sequence.
Status messages, e.g. from Core -> GUI.
Backend services of the swift project, like dealing with the network or the simulators.
Free functions in swift::misc.
CoreMode
Core runs how and where?