6 #ifndef SWIFT_CORE_CONTEXT_CONTEXTSIMULATOR_EMPTY_H
7 #define SWIFT_CORE_CONTEXT_CONTEXTSIMULATOR_EMPTY_H
15 namespace swift::core::context
30 logEmptyContextWarning(Q_FUNC_INFO);
37 logEmptyContextWarning(Q_FUNC_INFO);
44 logEmptyContextWarning(Q_FUNC_INFO);
53 Q_UNUSED(simulatorInfo)
54 logEmptyContextWarning(Q_FUNC_INFO);
61 Q_UNUSED(simulatorInfo)
62 logEmptyContextWarning(Q_FUNC_INFO);
72 logEmptyContextWarning(Q_FUNC_INFO);
79 Q_UNUSED(simulatorInfo)
80 logEmptyContextWarning(Q_FUNC_INFO);
86 logEmptyContextWarning(Q_FUNC_INFO);
93 logEmptyContextWarning(Q_FUNC_INFO);
100 logEmptyContextWarning(Q_FUNC_INFO);
107 logEmptyContextWarning(Q_FUNC_INFO);
115 logEmptyContextWarning(Q_FUNC_INFO);
121 logEmptyContextWarning(Q_FUNC_INFO);
129 logEmptyContextWarning(Q_FUNC_INFO);
136 Q_UNUSED(removeModels);
137 logEmptyContextWarning(Q_FUNC_INFO);
143 bool incremental)
override
145 logEmptyContextWarning(Q_FUNC_INFO);
146 Q_UNUSED(removedModels);
147 Q_UNUSED(incremental);
153 logEmptyContextWarning(Q_FUNC_INFO);
163 logEmptyContextWarning(Q_FUNC_INFO);
171 logEmptyContextWarning(Q_FUNC_INFO);
178 Q_UNUSED(modelstring);
179 logEmptyContextWarning(Q_FUNC_INFO);
187 Q_UNUSED(modelString);
188 logEmptyContextWarning(Q_FUNC_INFO);
195 logEmptyContextWarning(Q_FUNC_INFO);
202 logEmptyContextWarning(Q_FUNC_INFO);
210 logEmptyContextWarning(Q_FUNC_INFO);
217 logEmptyContextWarning(Q_FUNC_INFO);
227 logEmptyContextWarning(Q_FUNC_INFO);
236 logEmptyContextWarning(Q_FUNC_INFO);
242 bool ignoreSameAsGlobal)
override
245 Q_UNUSED(ignoreSameAsGlobal)
246 logEmptyContextWarning(Q_FUNC_INFO);
255 logEmptyContextWarning(Q_FUNC_INFO);
263 logEmptyContextWarning(Q_FUNC_INFO);
291 logEmptyContextWarning(Q_FUNC_INFO);
302 logEmptyContextWarning(Q_FUNC_INFO);
311 logEmptyContextWarning(Q_FUNC_INFO);
319 logEmptyContextWarning(Q_FUNC_INFO);
325 logEmptyContextWarning(Q_FUNC_INFO);
326 return swift::misc::simulation::MatchingLogNothing;
332 Q_UNUSED(commandLine)
334 logEmptyContextWarning(Q_FUNC_INFO);
341 Q_UNUSED(missingOnly)
342 logEmptyContextWarning(Q_FUNC_INFO);
350 logEmptyContextWarning(Q_FUNC_INFO);
358 logEmptyContextWarning(Q_FUNC_INFO);
370 logEmptyContextWarning(Q_FUNC_INFO);
377 logEmptyContextWarning(Q_FUNC_INFO);
Configuration object for the contexts.
The class providing facades (the contexts) for all DBus relevant operations.
@ Unspecified
unspecied, needed as default value
Empty context, used during shutdown/initialization.
bool testRemoteAircraft(const swift::misc::simulation::CSimulatedAircraft &aircraft, bool add)
Test a remote aircraft.
void enableMatchingMessages(swift::misc::simulation::MatchingLog enable)
Enable mapping logging.
bool triggerModelSetValidation(const swift::misc::simulation::CSimulatorInfo &simulator)
Trigger a validation, returns false if "work in progress".
QStringList getModelSetStrings() const
Model strings.
CContextSimulatorEmpty(CCoreFacade *runtime)
Constructor.
bool isKnownModelInSet(const QString &modelstring) const
Known model?
bool testUpdateRemoteAircraft(const swift::misc::aviation::CCallsign &cs, const swift::misc::aviation::CAircraftSituation &situation, const swift::misc::aviation::CAircraftParts &parts)
Test update remote aircraft.
swift::misc::CStatusMessageList getMatchingMessages(const swift::misc::aviation::CCallsign &callsign) const
Get mapping messages.
swift::misc::simulation::settings::CSimulatorSettings getSimulatorSettings() const
Get the current simulator settings.
void setModelSetLoaderSimulator(const swift::misc::simulation::CSimulatorInfo &simulator)
Set the model set loader simulator directly.
swift::misc::simulation::CMatchingStatistics getCurrentMatchingStatistics(bool missingOnly) const
Current matching statistics.
bool followAircraft(const swift::misc::aviation::CCallsign &callsign)
Follow aircraft im simulator view.
void recalculateAllAircraft()
Recalculate all aircraft.
bool doMatchingAgain(const swift::misc::aviation::CCallsign &callsign)
Repeat the matching callsign.
swift::misc::simulation::CSimulatorPluginInfo getSimulatorPluginInfo() const
Simulator info, currently loaded plugin.
swift::misc::geo::CElevationPlane findClosestElevationWithinRange(const swift::misc::geo::CCoordinateGeodetic &reference, const swift::misc::physical_quantities::CLength &range) const
Find closest elevation (or return NULL)
bool resetToModelMatchingAircraft(const swift::misc::aviation::CCallsign &callsign)
Reset model by matching it again.
ISimulator::SimulatorStatus getSimulatorStatus() const
Simulator combined status.
bool parseCommandLine(const QString &commandLine, const swift::misc::CIdentifier &originator)
Parse a given command line.
swift::misc::simulation::CSimulatorInternals getSimulatorInternals() const
Simulator setup.
bool requestElevationBySituation(const swift::misc::aviation::CAircraftSituation &situation)
Request elevation, there is no guarantee the requested elevation will be available in the provider.
swift::misc::simulation::CInterpolationAndRenderingSetupGlobal getInterpolationAndRenderingSetupGlobal() const
The global setup.
swift::misc::simulation::CAircraftModelList getDisabledModelsForMatching() const
The disabled models for matching.
void disableModelsForMatching(const swift::misc::simulation::CAircraftModelList &removedModels, bool incremental)
Remove a model for matching.
bool startSimulatorPlugin(const swift::misc::simulation::CSimulatorPluginInfo &simulatorInfo)
Load and start specific simulator plugin.
swift::misc::simulation::CInterpolationSetupList getInterpolationAndRenderingSetupsPerCallsign() const
Get all setups per callsign.
bool setSimulatorSettings(const swift::misc::simulation::settings::CSimulatorSettings &settings, const swift::misc::simulation::CSimulatorInfo &simulatorInfo)
Set settings for give simulator.
swift::misc::simulation::MatchingLog isMatchingMessagesEnabled() const
Enabled mapping logging?
swift::misc::simulation::CInterpolationAndRenderingSetupPerCallsign getInterpolationAndRenderingSetupPerCallsignOrDefault(const swift::misc::aviation::CCallsign &callsign) const
Get the setup for callsign, if not existing the global setup.
swift::misc::CStatusMessageList getInterpolationMessages(const swift::misc::aviation::CCallsign &callsign) const
Interpolation messages.
swift::misc::simulation::CAircraftModelList getModelSetModelsStartingWith(const QString &modelString) const
Models for model string.
swift::misc::simulation::CSimulatorInfo simulatorsWithInitializedModelSet() const
Simulators which have an initialized model set.
swift::misc::CStatusMessageList verifyPrerequisites() const
Verify prerequisites for simulation like an existing model set.
void setInterpolationAndRenderingSetupGlobal(const swift::misc::simulation::CInterpolationAndRenderingSetupGlobal &setup)
Set the global setup.
void restoreDisabledModels()
Restore the models removed with CAircraftMatcher::disableModelForMatching.
int doMatchingsAgain()
Repeat all matchings.
swift::misc::simulation::CSimulatorInfo getModelSetLoaderSimulator() const
Get the model set loader simulator directly.
int checkListeners()
Check all listeners enabled if simulator is connected.
QStringList getModelSetCompleterStrings(bool sorted) const
Model set completer string.
swift::misc::simulation::CAircraftMatcherSetup getMatchingSetup() const
Set matching setup.
int getModelSetCount() const
Number of installed models in simulator eco system.
int removeModelsFromSet(const swift::misc::simulation::CAircraftModelList &removeModels)
Remove models from set.
swift::misc::simulation::CAircraftModelList getModelSet() const
Installed models in simulator eco system.
swift::misc::simulation::CSimulatorPluginInfoList getAvailableSimulatorPlugins() const
Return list of available simulator plugins.
bool setInterpolationAndRenderingSetupsPerCallsign(const swift::misc::simulation::CInterpolationSetupList &setups, bool ignoreSameAsGlobal)
Set all setups per callsign.
bool isValidationInProgress() const
Validation in progress.
void setMatchingSetup(const swift::misc::simulation::CAircraftMatcherSetup &setup)
Set matching setup.
void stopSimulatorPlugin(const swift::misc::simulation::CSimulatorPluginInfo &simulatorInfo)
Stop listener or unload the given plugin (if currently loaded)
Value object encapsulating information identifying a component of a modular distributed swift process...
Status messages, e.g. from Core -> GUI.
Value object encapsulating information of aircraft's parts.
Value object encapsulating information of an aircraft's situation.
Value object encapsulating information of a callsign.
Plane of same elevation, can be a single point or larger area (e.g. airport)
static const CElevationPlane & null()
NULL plane.
Physical unit length (length)
Value object encapsulating a list of aircraft models.
Value object for interpolator and rendering.
Value object for interpolator and rendering per callsign.
Value object for matching statistics.
Comprehensive information of an aircraft.
Simple hardcoded info about the corresponding simulator.
Simulator internals for flight simulators. Those are obtained from a running simulator and represent ...
Describing a simulator plugin.
Value object encapsulating a list of SimulatorInfo objects.
Settings for simulator Driver independent parts (such as directories), also used in model loaders.
#define SWIFT_CORE_EXPORT
Export a class or function from the library.