Commit Graph

36 Commits

Author SHA1 Message Date
Roland Winklmeier
704068d299 Add methods to receive and write raw FSD messages
This commit adds methods to register for live FSD message reception. The
amount of traffic can be quite high, therefore no normal signal is used -
which would be available via DBus. Instead one has to connect manually
by passing a functor. This guarantees that we communicate only in-process.
If someone tries to connect on the proxy side, the connection will fail.
This needs to be handled properly in client code.
This commit also adds a method to write the FSD message to a selected file.

Maniphest Tasks: T222
2018-01-26 12:40:36 +01:00
Klaus Basan
9f79923848 Ref T219, removed unused signal webServiceDataRead
Remark: Can be directly used from web data services
2018-01-14 18:46:19 +01:00
Klaus Basan
23f48a866d Display VATLIB version in "about swift" 2018-01-14 18:45:45 +01:00
Klaus Basan
0f8bbbbfc2 Ref T210, adjusting classes to use new functions 2017-12-21 19:49:52 +01:00
Klaus Basan
93909171b6 Ref T192, init for P2P via CDBusServer::coreServiceName(connection) 2017-12-21 19:47:03 +01:00
Klaus Basan
22c34f4e23 Ref T189, "private slot" -> "private" 2017-12-21 19:44:52 +01:00
Klaus Basan
62b859347b Ref T180, minor message change 2017-11-05 20:02:35 +01:00
Klaus Basan
c882c64824 Ref T171, count of aircraft supporting parts
* added functions in providers, aware class
* some utility functions in aircraft list
2017-10-18 22:58:27 +02:00
Klaus Basan
b1795c77d8 Ref T129, formatting, removed namespace from signatures when "using namespace" 2017-10-10 00:27:41 +01:00
Klaus Basan
27ebf3e43d Ref T168, relay kicked message thru context to UI
* new signal in context, connected with VATLIB
* display in UI
2017-10-10 00:27:23 +01:00
Klaus Basan
7a87f986e2 Ref T167, renaming LocalInDBusServer and verifyModelSet 2017-10-10 00:27:17 +01:00
Klaus Basan
9748b5a442 Formatting, comments, Doxygen, minor tweaks 2017-10-10 00:27:03 +01:00
Klaus Basan
ec844fd438 Ref T27, made isAircraftInRange context and provider function
Based on clang warnings and RW's comment now pure virtual and context and provider function
2017-09-24 19:49:19 +01:00
Mathew Sutcliffe
5b8d76c06c Always disconnect CNetworkVatlib when shutting down. 2017-05-15 22:31:36 +01:00
Klaus Basan
929e2883d0 refs #921, renaming follow ups 2017-04-18 00:06:34 +01:00
Mathew Sutcliffe
3011c3a7ed Treat traffic network connection failure as a non-validation message, so it gets its own overlay messagebox. 2017-04-18 00:06:10 +01:00
Mathew Sutcliffe
c1a82ad60e Fixed undescriptive error message generated by CNetworkUtils::canConnect. 2017-04-18 00:06:08 +01:00
Klaus Basan
38ea336cbb refs #894, register dot commands for help
(wherever dor commands are implemented)
2017-04-17 23:57:50 +01:00
Klaus Basan
7eacb41113 refs #873, allow to request aircraft parts (aircraft config) from network 2017-02-24 00:20:09 +00:00
Roland Winklmeier
a7635a7e13 Force observer mode login only in shipped versions
The required feature to force observer login in case no simulator
is available, is only necessary in offically shipped versions.
In order to allow developer testing, limit it to shipped builds only.

refs #872
2017-02-24 00:18:33 +00:00
Roland Winklmeier
372e92072c Fall back to observer mode login in case no simulator is available
refs #860
2017-02-24 00:09:25 +00:00
Klaus Basan
63e2743867 refs #858, fixed todo by adding "getInterimPositionReceivers()" 2017-02-24 00:09:02 +00:00
Klaus Basan
194b2fd9ba refs #849, network context
* formatting
* made some functions protected instead public
2017-01-10 23:47:01 +00:00
Klaus Basan
f281092f16 refs #844, request booking updates from airspace monitor
* removed blocks of \copydoc
* renamed to requestAtcBookingUpdate
2017-01-10 23:46:12 +00:00
Klaus Basan
be297d8ccf refs #840, update (ground) elevation via remote aircraft provider 2017-01-10 23:45:29 +00:00
Roland Winklmeier
4994bf12b2 Let airspace monitor store the aircraft parts history
This commit adds a feature in airspace monitor to store the history
of received aircraft parts. If needed the history can be retrieved
via context methods.

refs #835
2017-01-10 23:45:00 +00:00
Klaus Basan
04e5bc6ecb refs #818, allow to log dummy messages / text messages from internals UI
* UI
* slots in network context
* adjusted overlay layout (based on the tests)
2016-12-13 19:01:22 +01:00
Klaus Basan
3903a24696 refs #806, apply CInterpolationAndRenderingSetup
* removed no longer needed signatures
* some renaming of CInterpolationAndRenderingSetup functions
* adjusted UI element
2016-12-13 19:00:53 +01:00
Klaus Basan
5bde36479d Assert in network context 2016-12-13 18:59:55 +01:00
Klaus Basan
ca6f3b15b7 refs #793, added updateAircraftNetworkModel in provider
* adjusted network context (implementing provider interface)
* and airspace monitor (also implementing provider interface)
* also formatted provider / context to new style (less copydoc)
2016-12-06 09:34:54 +01:00
Klaus Basan
c2bf473f3f refs #786, prepare contexts for matching messages
In same step cleaned up contexts a bit
* added function for model set strings
* renamed functions to getModelSet... instead of installed models (the set is smaller and is what we want to use with DBus)
* signal when debug/log flags changed
* removed some \copydoc
* allow to enable/disable rev.lookup/matching messages
* removed reload model function (dangling)
2016-12-06 09:34:10 +01:00
Roland Winklmeier
40d4c7774d Make originators calling updateAircraftModel identifable
refs #765
2016-09-19 16:29:37 +02:00
Klaus Basan
5236688e03 refs #689, refs #703, re-applied context change to subdir version
Change MetarSet to MetarList:
CMetarSet was implemented as a collection. This only makes sense for values which have one member variable only or hardly ever change. METARs often change and therefore a collection didn’t make much sense.
Additional profiling showed that a sequence has better algorithmic performance.
2016-07-14 18:49:25 +02:00
Klaus Basan
86d85c6b60 refs #707, removed originator from some signatures
* not used in remote aircraft provider
* adjusted all using interfaces
2016-07-14 18:49:15 +02:00
Klaus Basan
19040af654 refs #704, moved VATSIM specific stuff to ns VATSIM/subdir 2016-07-14 18:49:11 +02:00
Klaus Basan
d782839cb8 refs #703, moved context to subdir
* ns: Context
* adjusted using classes
2016-07-14 18:49:08 +02:00