Commit Graph

1730 Commits

Author SHA1 Message Date
Klaus Basan
f0db7ed660 refs #380, QConcurrent vs QThread sample and fix
* in same step fixed nullptr issue in worker (with no parent)
* Changed from QConccurennt::run to CWorker in core
2015-03-20 16:33:23 +01:00
Roland Winklmeier
50e9be8dd3 Dispatch Simconnect events every 10 ms 2015-03-20 16:33:19 +01:00
Roland Winklmeier
d3bdad9ef6 refs #321 Handle received aircraft parts in airspace monitor 2015-03-20 16:33:15 +01:00
Roland Winklmeier
d5731cf8d9 refs #321 Add parts synchronized flag to CSimulatedAircraft 2015-03-20 16:33:11 +01:00
Roland Winklmeier
afea320a2e refs #321 Handle aircraft config client capability 2015-03-20 16:33:07 +01:00
Roland Winklmeier
b40180818c Send ChangePlayerPlane several times to FS9 2015-03-20 16:33:03 +01:00
Roland Winklmeier
ebbeed4baf refs #328 Write aircraft parts to simulators
FSX only for the moment
2015-03-20 16:32:59 +01:00
Roland Winklmeier
bcc79ddeee refs #328 Read aircraft parts from simulators 2015-03-20 16:32:55 +01:00
Roland Winklmeier
58ae34d2e6 Fix const correctness in xbus dataRef 2015-03-20 16:32:51 +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
6aea013b23 refs #369, added access for renderedAircraftPositions 2015-03-20 16:32:08 +01:00
Klaus Basan
915492670c refs #369, prepared for aircraft parts and removed addAircraftSituation 2015-03-20 16:32:04 +01:00
Klaus Basan
ee3417ff8b refs #369, adjusted aircraft parts/lights and list to new style
* support of property index
* used support classes BlackMisc::ITimestampBased, ITimestampObjectList and ICallsignObjectList
* fixed some issues in related aircraft situation class in same step
2015-03-20 16:32:00 +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
Roland Winklmeier
ccec06fc80 refs #328 add CAircraftParts to CAircraft
Conflicts:
	src/blackmisc/avaircraft.h
2015-03-20 16:31:48 +01:00
Roland Winklmeier
0a46a4a0bd refs #328 CAircraftParts value classes 2015-03-20 16:31:45 +01:00
Klaus Basan
16042c1fb2 refs #369, gcc fixes 2015-03-20 16:31:41 +01:00
Klaus Basan
f6e5b8b3b1 refs #369, adjusted mapping component to use new functions
(e.g. with originator signature)
2015-03-20 16:31:37 +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
caa5aab34c refs #369, reverse ICAO lookup 2015-03-20 16:31:26 +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
adeac119d0 refs #369, only ATC stations with voiceroom displayed 2015-03-20 16:31:07 +01:00
Klaus Basan
02eb531367 refs #369, simulated aircraft to aircraft list 2015-03-20 16:31:03 +01:00
Klaus Basan
8e8f9e4804 refs #369, prepend function for properties 2015-03-20 16:30:59 +01:00
Klaus Basan
cec59c5d72 refs #369, revised atc station and client list
* function to get only stations with valid callsign
* use ICallsignObjectList in client list
* removeByCallsign
2015-03-20 16:30:56 +01:00
Klaus Basan
880bb53e3d refs #369, changed for own aircraft provider
* CLI client
* test network
* GUI/GUI components
2015-03-20 16:30:52 +01:00
Klaus Basan
1b04205584 refs #369, adjusted plugins
* common base class for FS drivers
* moved mapper into common base class
* reflect changes for own aircraft provider
** removed member functions
** removed unused members
2015-03-20 16:30:48 +01:00
Klaus Basan
24e6dcef54 refs #369, revised FSUIPC
* removed own aircraft member
* split into read / write, removed process
2015-03-20 16:30:44 +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
107e343673 refs #369, direct access to own aircraft (in memory)
* provider interface
* implementations
2015-03-20 16:30:37 +01:00
Klaus Basan
b170113d2a refs #369, adjusted value objects
* convenience functions
* removed COM3
2015-03-20 16:30:33 +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