Commit Graph

69 Commits

Author SHA1 Message Date
Klaus Basan
5146b7357d refs #369, adjusted simulator drivers to changed interpolator and
removed addAircraftSituation
2015-03-20 16:32:15 +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
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
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
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
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
Klaus Basan
d0b5fc1249 refs #358, fixes as proposed by RW
* foreach -> for
* CVariant
2014-12-29 23:01:58 +01:00
Klaus Basan
69b095ff75 refs #358, fixed redundantAssignment from Jenkins Cppcheck 2014-12-28 22:21:04 +01:00
Klaus Basan
0f7332e82b No updates to simulator when sim is not simulating 2014-12-28 22:20:32 +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
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
def17124db refs #358, split FSX driver and factory into different files 2014-12-28 20:46:01 +01:00
Klaus Basan
e11a3c1e6b refs #349, added SB client area (for ident, transponder mode) to driver
* added SB client area support
* renamed member functions to better reflect meaning
* added all structures required for SB client area
* changed to new logging
2014-12-13 13:17:36 +01:00
Klaus Basan
78e4900243 refs #349, housekeeping
* formatting
* tweaks (such as changing to new log style),
* Doxygen
* int instead of qint
2014-12-13 13:17:31 +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
326ae96def Formatting, Doxygen 2014-11-30 00:54:04 +01:00
Klaus Basan
dd587207fe Formatting, renaming 2014-11-30 00:53:46 +01:00
Roland Winklmeier
0e675b97e6 refs #341 Remove unnecessary Q_DECL_EXPORT.
Qt MOC exports the required symbols.
2014-11-05 16:34:24 +01:00
Mathew Sutcliffe
a294e8db0f refs #336 Using the new CLogMessage syntax to log messages. 2014-10-16 17:05:50 +01:00
Roland Winklmeier
704721b01a refs #324 Enable the assert in addAircraftSituation 2014-10-07 23:37:07 +02:00
Roland Winklmeier
faf931742a refs #324 Remove timeout implementation from MSFS plugins 2014-10-07 23:37:04 +02:00
Mathew Sutcliffe
2c0e6505a0 refs #316 Debug messages should not be displayed by simulator plugins. 2014-10-04 22:17:04 +01:00
Mathew Sutcliffe
b16b02c3d6 refs #316 Changed blackmisc and blacksim 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:40 +01:00
Klaus Basan
b576e21b48 Workaround for assert in FSX plugin, refs #324 2014-09-11 12:07:56 +02:00
Mathew Sutcliffe
276484da8d refs #283 Fixed PQ unit assumption in FSX plugin 2014-08-27 00:02:36 +01:00
Mathew Sutcliffe
4aef58564e refs #283 Added ISimulator::getInstalledModels method, with stub implementations 2014-08-27 00:02:35 +01:00
Mathew Sutcliffe
f4b7a9c6a2 refs #283 Rationalized ISimulator slots for managing remote aircraft 2014-08-27 00:02:34 +01:00
Mathew Sutcliffe
d25eac66b1 refs #283 Dedicated displayTextMessage for text messages instead of using displayStatusMessage for both.
The simulator can use this to display text messages in a different colour, for example.
2014-08-27 00:02:32 +01:00
Roland Winklmeier
e49fa083a7 refs #241 Move CFsuipc into simulator_fscommon 2014-08-03 14:52:30 +02:00
Klaus Basan
8d20c5e061 refs #298, implemented isPaused for FSX
In the same step renamed enum SystemEvent values to make them easier to spot
2014-07-12 18:25:29 +02:00
Klaus Basan
284a66a65c Fixed gcc warnings 2014-07-11 21:45:34 +02:00
Klaus Basan
5f4f6806da refs #289, added functionality in FSX plugin
* data definitions
* events
* improved error handling: HRESULT values, exception output
* sync time method
2014-07-11 01:21:17 +02: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
0a7d025b8d refs #292, found during debugging
* const override of toQVariant
* missing getter / setters
* metaTuple
* improved toQString
* CClient::setCapability bug
* Fixed wrong ICAO check
2014-07-11 01:20:34 +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
9e4c58b209 Moved CSimulatorFsx::SimConnectProc in own cpp file, as discussed in meeting 2014-07-11 01:20:14 +02:00
Klaus Basan
5a4443487e Renamed to geodetic height, as discussed in meeting 2014-07-11 01:20:06 +02:00
Klaus Basan
bbdb8a293f refs #291, getAirportsInRange for simulator, simulator context 2014-07-11 01:20:05 +02:00
Klaus Basan
da3982fc5f refs #279, improved FSUIPC support, reading all standard values including SB3 xpdr indent 2014-07-04 22:56:55 +02:00
Klaus Basan
317ea93701 refs #279, added version info to FSUIPC class 2014-06-23 01:19:44 +02:00
Klaus Basan
f775ac88d3 Doxygen 2014-06-23 01:19:40 +02:00
Klaus Basan
c404d4cc5b refs #279, FSUIPC support 2014-06-23 01:19:35 +02:00
Klaus Basan
0a6f711e82 Doxygen 2014-06-23 01:19:32 +02: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
Roland Winklmeier
01f6b9c156 Add method in ISimulator to get aircraft model
Route AircraftModel requests from Context Simulator to ISimulator

refs #235
2014-06-13 01:01:16 +02:00
Roland Winklmeier
fdb4403904 Setup SimConnect data structure and requests for user
aircraft title

refs #235
2014-06-13 00:56:58 +02:00
Roland Winklmeier
92dbefbf7a refs #229 Simplify searching for Simconnect object with std::find_if 2014-06-13 00:44:07 +02:00
Roland Winklmeier
e49650787d refs #229 Do not send updates to FSX for removed objects 2014-06-13 00:42:43 +02:00
Klaus Basan
02bb054f5a New features for Simulator, refs #257
* Allow to display text alerts for
** Status messages
** Private chat messages
* Updates from GUI cockpit to Simulator
* A bit refactoring, e.g. event names according our standards
2014-06-09 14:43:41 +02:00
Klaus Basan
035575870b refs #242, allows to change FSX cockpit from context
* Data definitions for FSX events
* BCD conversion for COM and transponder
* Update Cockpit method in context
* Renamed setOwnAircraft -> updateOwnAircraftFromSim
2014-06-09 14:43:35 +02:00