Commit Graph

38 Commits

Author SHA1 Message Date
Klaus Basan
c47871b813 refs #382, reviewed audio context handling
* only init QDbusServer for P2P
* changed init order of contexts in runtime
* use "fake" signal to call setComVoiceRooms (remote in GUI)
* added slot to change voice room callsign
* used "org.swift" instead of "net.vatim" (just style)
* used const QString for serviceName
* added correct copyright header (just style)
2015-03-20 16:33:51 +01:00
Klaus Basan
f56a401505 refs #369, adjusted contexts
* using CSimulatedAircraft / CSimulatedAircraftList
* new functions as getAircraftForCallsign or getInstalledModelsStartingWith
* fixes such as override missing fixed
* return values (success/failed) for member functions (e.g. setTimeSynchronization)
* getMaxRenderedAircraft / setMaxRenderedAircraft
2015-03-20 16:31:29 +01:00
Klaus Basan
fe4613a868 refs #369, adjusted contexts to use own aircraft provider
* removed unused functions / signals
* removed no longer used members / update timers
* Pass provider to contructors
* no direct access to monitor in other contexts
2015-03-20 16:30:40 +01:00
Klaus Basan
a37a176c02 refs #369, renamed simulator connect functions similar to network context 2015-03-20 16:30:29 +01:00
Klaus Basan
deba08eef0 Renaming, Doxygen, license 2015-01-25 03:55:36 +01:00
Klaus Basan
c61a963a99 refs #364, refs #368 contexts:
* changed to CSimulatedAircraft / Simulation::CAircraftModel
* added new functions such as icons for model
* improved ICAO code handling in airspace
* removed implicit logging from network context
2015-01-24 01:15:21 +01:00
Klaus Basan
8f746d59b9 refs #358, adjusted simulator context and airspace monitor for model matching 2014-12-28 22:19:44 +01:00
Klaus Basan
a94bceddab refs #335, refs #342 improved simulator states
* new signal sending all 3 states together (connected, running, paused)
* renamed ISimulator::Status to ConnectionStatus
* consolidated some member / signal names
* for FS9/XPlane implemented stub functions
2014-11-30 00:54:07 +01:00
Klaus Basan
dd587207fe Formatting, renaming 2014-11-30 00:53:46 +01:00
Mathew Sutcliffe
5991981789 refs #336 Removed the old getMessageCategory methods. 2014-10-16 17:06:21 +01:00
Mathew Sutcliffe
5d123f798a refs #316 Changed blackcore to use CLogMessage to emit messages.
Also changed functions which always returned CStatusMessageList containing a single CStatusMessage,
to return CStatusMessage instead for simplicity.
2014-10-04 22:16:43 +01:00
Mathew Sutcliffe
f311582c28 refs #315 Style 2014-08-19 21:54:23 +01:00
Klaus Basan
851bb70a68 refs #289, added methods for time sync in context, plugin
Remark: in the same step added methods for paused simulator
2014-07-11 01:21:04 +02:00
Klaus Basan
ecb2a6ff66 Doxygen fixes, improvements 2014-07-11 01:20:50 +02:00
Klaus Basan
3729721fc3 refs #289, method bodys for time sync as preparation
simulator can send messages to contexts
2014-07-11 01:20:29 +02:00
Klaus Basan
76bc6f0efc Formatting, tweaks 2014-07-11 01:20:21 +02:00
Klaus Basan
bbdb8a293f refs #291, getAirportsInRange for simulator, simulator context 2014-07-11 01:20:05 +02:00
Klaus Basan
e8baa37b9d Formatting, housekeeping 2014-07-11 01:20:00 +02:00
Klaus Basan
4694c23f87 refs #273, added support for loading plugin from settings 2014-06-28 18:02:10 +02:00
Klaus Basan
42db1fe9ae refs #273, added settings for simulator
* added class
* adjusted settings context
* adjusted "global" methods as register metadata
* improved settings utility
* renamed "settingsallclasses" as settings can also be in other namespaces, settingsallclasses now in core
2014-06-28 18:01:55 +02:00
Mathew Sutcliffe
9b27b93de0 refs #246 refactored construction of all remaining contexts into factory methods 2014-06-14 16:52:52 +01:00
Mathew Sutcliffe
a6cd44be8d refs #246 added ISimulator::aircraftModelChanged signal which can be sent via the contexts to CAirspaceMonitor, which needs the model when sending FSIPI(R) custom packets 2014-06-14 16:52:50 +01:00
Klaus Basan
3ae93190ae Round trip protection as described in (4)
https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Individual context id
* Allows to connect >1 GUIs with core, works for cockpit so far
2014-06-09 14:44:26 +02:00
Klaus Basan
48267f314c refs #242, changed different classes/components to use aircraft context instead of network context
* removed own aircraft from simulator context
* in GUI, also added originator for signals/ slots
* flightplan / text messages
2014-06-09 14:42:31 +02:00
Klaus Basan
66023d2d87 refs #227, added support for client/aircraft model in contexts
* Simulator
* Network
2014-05-06 21:47:20 +02:00
Klaus Basan
c1acc1fa69 refs #187, asyncConnectTo method to avoid freeze when starting GUI/Core
* as discussed in https://dev.vatsim-germany.org/issues/187#change-1183
* using no longer connectTo() but asyncConnectTo() in constructor of simulator context
* changed Interface doxygen comments to copydoc
2014-04-29 14:04:59 +02:00
Klaus Basan
9e5666e0e2 Formatting / comments / typos 2014-04-29 01:54:04 +02:00
Klaus Basan
36dbcc6b57 refs #217, Project class providing information for compile configuration
* changed .pro / .pri as required
* Used info from project class in network_vatlib
* Checks / info in GUI/core (e.g. console)
* const * versions of systemNameAndVersion / simulators, as mentioned in https://dev.vatsim-germany.org/issues/217#note-4
2014-04-29 01:53:09 +02:00
Roland Winklmeier
fd035fe5cc Add method to retrieve a list of available simulator plugins
refs #215
2014-04-26 15:01:46 +02:00
Roland Winklmeier
87ff9c9ae8 Add methods to load and unload specific simulator plugins
refs #215
fixes #208
2014-04-26 15:01:33 +02:00
Roland Winklmeier
03b7418d03 Add connectTo/disconnectFrom/canConnect to simulator context
refs #187
2014-04-26 14:36:19 +02:00
Klaus Basan
463e20884b refs #199, convenience method 2014-04-17 00:12:00 +02:00
Klaus Basan
d9b5ce54f1 refs #207, added SimulatorInfo to context 2014-04-17 00:11:38 +02:00
Klaus Basan
679b34c7f4 refs #199, cleaned up contexts a bit after rebasing to current master
* friend CRuntime on top
* fixed some public constructors (made protected)
* Also made registerWithDBus protected
* Fixed some copy/paste issues in getIContextXXX
* Reordered private/public sections
2014-04-17 00:06:05 +02:00
Klaus Basan
77fd3bcd70 refs #199 , adjusted context classes
* removed usingLocalObjects() now in CContext
* removed getRuntime() now in CContext
* Constructors no longer public, context can only be obtained via runtime object
* runtime class is friend class
2014-04-17 00:05:47 +02:00
Klaus Basan
8d5e06a439 refs #199 and refs #198, formatting / Doxygen as preparation for some refactoring.
Also added new icon as application and table view icon.
2014-04-17 00:05:41 +02:00
Roland Winklmeier
805a751071 Fixed not DBus registered method from CContextSimulator
CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
2014-03-12 00:41:55 +01:00
Roland Winklmeier
6fac031720 Add abstract interface IContextSimulator
IContextSimulator is implememted similar to the other contexts.
It defines a small set of methods as a starter. More will
be added later when the concept is proofen to work.
refs #135
2014-03-11 21:26:15 +01:00