Commit Graph

554 Commits

Author SHA1 Message Date
Klaus Basan
45bace425d Formatting, minor tweaks
refs #369, refs #371, refs #372
2015-03-20 16:33:27 +01:00
Roland Winklmeier
d3bdad9ef6 refs #321 Handle received aircraft parts in airspace monitor 2015-03-20 16:33:15 +01:00
Roland Winklmeier
afea320a2e refs #321 Handle aircraft config client capability 2015-03-20 16:33:07 +01:00
Roland Winklmeier
77e0165e9a refs #371 Replace COM based volume methods by global output volume 2015-03-20 16:32:47 +01:00
Roland Winklmeier
1587b4791a refs #371 remove deprecated mic and squelch tests 2015-03-20 16:32:43 +01:00
Roland Winklmeier
984c0d084f refs #372 Add context method to set the voice output volume 2015-03-20 16:32:39 +01:00
Roland Winklmeier
84ac5e9972 refs #372 Move voice channel sharing into CContextAudio
Before a very complex mechanism was implemented in order to share
a vatlib voice channel resource if more than one COM unit was connected
to the same channel. This is now moved into CContextAudio by mapping
a COM unit to a shared voice channel pointer.
2015-03-20 16:32:35 +01:00
Roland Winklmeier
33dddf795e refs #372 Adapt audio devices to fixed vatlib interface 2015-03-20 16:32:31 +01:00
Roland Winklmeier
ff56d64ff2 refs #372 Adapt CContextAudio and voice sample to IAudioMixer 2015-03-20 16:32:27 +01:00
Roland Winklmeier
7ba3a50e18 refs #372 Replace voice connection methods to use audio mixer
Instead of connecting producers and consumers directly, they
are all connected to an audio mixer. In order to actually
route voice you have to configure the mixer and connect its
input with an output port.
This commit also silently adapts to some new vatlib methods,
which got introduced as a bug fix.
2015-03-20 16:32:23 +01:00
Roland Winklmeier
8812f3ba28 refs #372 Add audio mixer interface and vatlib implementation
This class is an audio router. In order to route audio connect a
producer to an input port and a consumer to an output port. The
connection is later established by making the mixer connection
between an input and an output port.
2015-03-20 16:32:19 +01:00
Klaus Basan
5146b7357d refs #369, adjusted simulator drivers to changed interpolator and
removed addAircraftSituation
2015-03-20 16:32:15 +01:00
Klaus Basan
58b56ba2f3 refs #369, revised interpolator, removed addAircraftSituation 2015-03-20 16:32:11 +01:00
Klaus Basan
915492670c refs #369, prepared for aircraft parts and removed addAircraftSituation 2015-03-20 16:32:04 +01:00
Roland Winklmeier
466a9a24ef refs #321 Methods to read/write aircraft config packets from/to network 2015-03-20 16:31:56 +01:00
Roland Winklmeier
a3e13db2ae refs #321 token bucket algorithm implementation 2015-03-20 16:31:52 +01:00
Klaus Basan
16042c1fb2 refs #369, gcc fixes 2015-03-20 16:31:41 +01:00
Klaus Basan
8c3547c33d refs #369, adjusted simulator drivers
* common base class BlackCore::CSimulatorCommon
* using providers IOwnAircraftProvider, IRenderedAircraftProvider
* using revers lookup in mapping
* using CSimulatedAircraft / CSimulatedAircraftList
* return values (success/failed) for member functions (e.g. setTimeSynchronization)
* getMaxRenderedAircraft / setMaxRenderedAircraft prepared
2015-03-20 16:31:33 +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
89424647aa refs #369, smaller changes
* rendered attribute in CSimulatedAircraft
* Formatting
* contains in CPropertyIndex
* CAircraftModel, new type
2015-03-20 16:31:22 +01:00
Klaus Basan
366721d9ad refs #369, first version of IRenderedAircraftProvider in airspace monitor
(no aircraft parts yet)
2015-03-20 16:31:18 +01:00
Klaus Basan
a48a875e42 refs #369, use SimulatedAircraftList (instead of CAircraftList) 2015-03-20 16:31:14 +01:00
Klaus Basan
de23d1f5bc refs #369, changed from CAircraftList to CSimulatedAircraft list
In the same step fixed / revised issues:
* make sure ATCT stations are removed from client list when disconnected
* use removeByCallsign functions
2015-03-20 16:31:11 +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
054b30c306 Removed "return const" from some functions 2015-03-20 16:30:25 +01:00
Klaus Basan
39150a1bc1 Formatting, added icons for callsign 2015-03-20 16:30:21 +01:00
Klaus Basan
ce86c902b5 Upfront of refs #369
* consolidated ICoordinateGeodetic (e.g. fixed nested properties)
* shifted common functionality for objects/containers with callsign into interface
* shifted common functionality for objects/containers with geo position into interface
* shifted common functionality for objects/containers with timestamp into interface
* updated corresponding value objects / specialized lists
* adjusted all places where renamed functions are used
2015-03-20 16:30:18 +01:00
Roland Winklmeier
ea68170202 Add test client id and private key
Be aware this is just a test key pair. It will not work
on the live VATSIM network
2015-02-06 21:05:24 +01:00
Roland Winklmeier
526900d8b9 Fix VatAtcPosition not properly initialized 2015-02-06 21:02:42 +01:00
Klaus Basan
3a4e5ef556 refs #364, refs #368 improved handling of manually set models
* make sure manually set model is not subject of model matching
* added convenience member functions to detect manually set models
2015-01-25 03:55:45 +01:00
Klaus Basan
deba08eef0 Renaming, Doxygen, license 2015-01-25 03:55:36 +01:00
Klaus Basan
4fa8639735 Removed implicit logging 2015-01-25 03:55:27 +01:00
Klaus Basan
9910e9adb1 License 2015-01-24 01:16:58 +01:00
Klaus Basan
4e1db5c837 Fixes of MS'review as proposed
https://dev.vatsim-germany.org/issues/368#change-2380 (1,2)
https://dev.vatsim-germany.org/issues/364#change-2379 (1-11,13)
2015-01-24 01:16:50 +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
b12352047b refs #364, refs #368 drivers:
* changed to CSimulatedAircraft / Simulation::CAircraftModel
* added new functions such as icons for model
2015-01-24 01:15:16 +01:00
Roland Winklmeier
90a570ac78 Fix conditional expressions in vatlib cleanup helpers 2015-01-19 14:00:38 +01:00
Klaus Basan
b26fa651ed Allow to select COM frequencies from ATC view (context menu)
* added functions in component to select COM frequencies
* changed views to contain ObjectType in template
* function to obtain selected objects in view base class
2014-12-29 23:02:00 +01:00
Klaus Basan
3a8f0a17d2 refs #358, asserts and fixes in context simulator 2014-12-28 22:21:01 +01:00
Klaus Basan
8a43efca92 refs #350 Extra static function registerMetadata, so it can be called explicitly 2014-12-28 22:20:24 +01:00
Klaus Basan
bfced2ad42 refs #358, more detailed time measurement in runtime class 2014-12-28 22:20:17 +01:00
Klaus Basan
9e5f228b08 using namespace in header removed, rectified resulting changes
* using namespace in context_runtime.h
* in same step also fixed some other using namespace issues
2014-12-28 22:20:09 +01:00
Klaus Basan
0ea26f1ce9 refs #359, log fixes / setup 2014-12-28 22:19:57 +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
23e9159dfd refs #358, added (a first very simple) model matching to FSX driver
* isRunning → isSimulating
* adjusted addRemoteAircraft signature (remark: CClient as parameter will be removed)
* renamed to "ownAircraft" when referring to own aircraft
* functions to access installed models/matched models
* model matching in CSimulatorFsx::addRemoteAircraft
2014-12-28 22:19:28 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Roland Winklmeier
2fa4a88c22 refs #320 doxygen 2014-12-27 11:08:46 +01:00
Roland Winklmeier
b6869affd5 refs #320 Voicechannel and audio device connections
- Methods to connect voice channel and audio devices
- Methods to connect audio devices with each other (loopback)
2014-12-27 11:08:44 +01:00
Roland Winklmeier
3126067d31 refs #320 Porting voice channels to new API 2014-12-27 11:08:43 +01:00