Commit Graph

40 Commits

Author SHA1 Message Date
Mathew Sutcliffe
df6b5b4929 refs #466 Resolved TODO items in INetwork. 2015-11-19 21:01:07 +00:00
Klaus Basan
3ed2068ff5 refs #452, MS review
https://dev.vatsim-germany.org/issues/452#note-5
2015-11-19 21:00:19 +00:00
Klaus Basan
3e1e1070c1 refs #452 updated tests/samples to reflect previous changes 2015-11-19 20:59:21 +00:00
Klaus Basan
3c9f95356e refs #445, samples for vPilot rules
* new samples for vPilot rules
* also adjusted other samples to latest changes (livery, new readers)
2015-11-19 20:57:23 +00:00
Mathew Sutcliffe
d4d862927e refs #441 Rename COriginator to CIdentifier and rename COriginatorAware to CIdentifiable. 2015-06-06 18:02:16 +01:00
Klaus Basan
6c06ff5d46 refs #432, adjusted originators 2015-05-29 03:49:16 +02:00
Roland Winklmeier
ee0bfd62fa refs #428 Use COriginator instead of QString in internal API 2015-05-25 16:06:44 +02:00
Klaus Basan
2d20f5bf9c refs #420, MS review
Fixes as described here https://dev.vatsim-germany.org/issues/420#note-5
2015-05-22 03:08:29 +02:00
Klaus Basan
104122023c Aircraft ICAO data should use ICAO code as attribute, this somehow got lost in the merge session, re-applied 2015-05-17 20:29:06 +02:00
Mathew Sutcliffe
b65232b202 MS & KB workshop: ICAO class renamings. 2015-05-12 22:47:54 +01:00
Mathew Sutcliffe
c136724cd0 MS & KB workshop: removed CAvionicsBase. 2015-05-12 22:47:52 +01:00
Klaus Basan
3ecf37dda4 refs #395, changed own aircraft provider to thread safe member functions
(similar to remote aircraft provider)
* removed references
* made own aircraft context thread safe (reg. own aircrat data)
* removed the read only versions of the provider
* adjusted consuming methods
* renamed some functions ("ownAircraft...") to avoid ambiguity (with remote aircraft)
2015-05-12 20:46:48 +01:00
Klaus Basan
aafee8eafd refs #402, post merge feedback by MS 2015-04-11 02:09:10 +02:00
Klaus Basan
32f60722c8 refs #396, move subproject BlackSim into BlackMisc::Simulation
* removed unused samples / tests
* fixed found Doxygen issues
* removed blacksimfreefunctions, now in BlackMisc::Simulation::registerMetadata()
* samples_vetcor_geo to samples_geo
2015-04-07 19:22:16 +02:00
Klaus Basan
53afe798d4 Fixed warnings as mentioned in
https://dev.vatsim-germany.org/boards/22/topics/2587?r=2598#message-2598
and found by
+win32-msvc*:QMAKE_CXXFLAGS_WARN_ON *= /Wall /W3 /wd4640 /wd4619 /wd4350 /wd4351
2015-03-29 20:15:09 +02: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
Roland Winklmeier
cb7ad005b0 refs #320 port Network to new vatlib
* CNetworkVatlib
* Contexts
* Samples
2014-12-27 11:08:32 +01:00
Mathew Sutcliffe
aef7135e28 refs #316 Removed old statusMessage signals and sendStatusMessage slots. 2014-10-04 22:16:56 +01:00
Mathew Sutcliffe
8dccc8d792 refs #246 renamed host to server to avoid ambiguity 2014-06-14 16:52:47 +01:00
Klaus Basan
dac556c6e9 refs #262, fix update of aircraft position
Described here (3): https://dev.vatsim-germany.org/boards/22/topics/1792?r=1801#message-1801

* Also renamed: setOwnAircraftAvionics -> setOwnCockpit to be consistent
* Removed outdated methods
2014-06-09 14:44:19 +02:00
Klaus Basan
226edda23b refs #219, load flight plan
* fixed issue with parsing, only default locale is used. Now user's local possible
* allow to load FP for other callsigns as well (voice capabilities)
* Improved handling of CTime, inclusive bug fixes and time formatting
* Max. lengths for FP fields as const value (so we can change it if required)
* Load FP from GUI component
* Samples for PQ classes
* Adjusted depending classes (e.g. client)
2014-06-09 14:43:57 +02:00
Mathew Sutcliffe
356f134ab8 refs #218 enable retreiving user's flightplan from the network
after it was potentially amended by a controller
2014-05-16 13:44:24 +01:00
Mathew Sutcliffe
07fc42f790 added statusMessage slot in sample CLI client 2014-05-16 13:44:23 +01:00
Roland Winklmeier
95fa5e84df Removed IContext
Network and voice samples work using them and have to allocate
their own vatlib objects now.

refs #221
2014-04-26 20:46:56 +02:00
Mathew Sutcliffe
2f8efe5c3b refs #179 updated sample_cli_client to recent changes in INetwork 2014-04-03 23:08:09 +01:00
Mathew Sutcliffe
b4256298e7 refs #48 INetwork sending flight plans 2014-04-03 23:06:54 +01:00
Klaus Basan
79f5b6fcd3 Added / prepared for state disconnecting:
Taking up the idea of MS (disconnecting),
and based on a real world issue where the transition state
of disconnecting was still handled as connected.
2014-02-05 23:16:19 +00:00
Mathew Sutcliffe
7316fb8398 changed a couple more INetwork method names for consistency 2014-01-25 19:36:40 +00:00
Mathew Sutcliffe
0af8c9eb3e refs #100 Rationalization of INetwork signals and slots
* Naming convention: "preset" only when disconnected, "send" only when connected, "set" both
* Every asynchronous pair is named as in "sendFooQuery" and "fooReplyReceived"
* Moved LoginMode from CNetworkVatlib constructor to INetwork::presetLoginMode
* Callsign and ICAO codes can only be changed when disconnected, so have their own "preset" methods
** Callsign and ICAO parts of setOwnAircraft are therefore ignored
** CUser part of setOwnAircraft is ignored, in favour of the CUser part of presetServer
* CNetworkVatlib takes care of reconstructing m_net if the LoginMode is changed
2014-01-25 19:36:37 +00:00
Mathew Sutcliffe
917e1829d1 reviewed backlog INetwork and CContextNetwork changes from kbatclist
* INetwork setOwnAircraft slots
* ATIS received shimlib callback triggers separate VoiceRoom and LogoffTime signals
* INetwork statusMessage signal emitted in response to shimlib errors
* INetwork::ConnectionStatus added a DisconnectedError value and toString conversion
* INetwork::isConnected method
* Argument in CNetworkVatlib constructor to enable stealth or observer mode
* Update CLI sample, tests, and CContextNetwork accordingly
2014-01-14 23:30:21 +00:00
Mathew Sutcliffe
60ad43d291 INetwork: removed the five connectionStatus signals and added one signal with an enum argument to replace them.
Requested by Klaus, to ease the implementation of signal consumers.
2014-01-11 17:59:45 +00:00
Mathew Sutcliffe
b475d7eff1 INetwork builds up the ATIS as it is received, line-by-line, keeping this implementation detail more encapsulated
refs #81
2014-01-09 01:16:01 +00:00
Mathew Sutcliffe
c77951743e INetwork: refactor request/reply pattern and sending position updates to be more encapsulated
refs #81
2014-01-08 01:00:17 +00:00
Klaus Basan
535ea65a9a start using our value classes as arguments in INetwork signals and slots
refs #81
2014-01-08 00:59:45 +00:00
Klaus Basan
978f3c88e5 style changes and removals of typeid
refs #81
2014-01-08 00:57:43 +00:00
Mathew Sutcliffe
e607121cc4 Updating IContext to our current style and making it less reliant on macros.
Updating code that uses IContext to a more conformant pattern of usage.
2013-10-05 18:12:16 +01:00
Mathew Sutcliffe
31955f0913 fixed missing space character in fsd sample 2013-08-28 23:26:57 +01:00
Mathew Sutcliffe
56e05b55a9 Normalized handling of leading/trailing whitespace in sample app (refs #22) 2013-08-04 17:49:46 +01:00
gmt2001
d1e35c0b27 refs #22
Fix leading space and trailing LF in real name
Use proper const char* to const char* copy in NetworkVatlib::initiateConnection()
2013-08-04 01:54:03 -04:00
Mathew Sutcliffe
930be03fa6 sample console-based client to demonstrate INetwork interface (refs #22) 2013-07-31 22:02:41 +01:00