Commit Graph

421 Commits

Author SHA1 Message Date
Roland Winklmeier
33aee8cb12 Refactored inheritance hierarchy of ContextAudio (former ContextVoice)
refs #85
2014-03-11 21:36:57 +01:00
Roland Winklmeier
1e8a2a5b01 Refactored inheritance hierarchy of ContextApplication
refs #85
2014-03-11 21:26:19 +01:00
Roland Winklmeier
23056c61c8 FSX implementation divided into three parts:
- SimConnect handling done in CSimulatorFSX
- Exception handling done by CSimConnectException
- Data definitions done by CSimConnectDataDefinition

refs #142
2014-03-11 21:26:18 +01:00
Roland Winklmeier
ab21a9ba28 Add ContextSimulator classes to CoreRuntime
refs #135
2014-03-11 21:26:17 +01:00
Roland Winklmeier
c7d35d29a4 Add DBus implementation for IContextSimulator
This class implements the DBus version off simulator context.
When one of its methods is called, it forwards it to
the configured DBus session/server.
refs #135
2014-03-11 21:26:17 +01:00
Roland Winklmeier
1d6572d222 Add local implementation for IContextSimulator
This class implements the local BlackCore object
for the simulator context. It initializes its member
variables with default values.
refs #135
2014-03-11 21:26:16 +01:00
Roland Winklmeier
6fac031720 Add abstract interface IContextSimulator
IContextSimulator is implememted similar to the other contexts.
It defines a small set of methods as a starter. More will
be added later when the concept is proofen to work.
refs #135
2014-03-11 21:26:15 +01:00
Roland Winklmeier
844bed6c5b First draft of ISimulator
Currently it supports
* Reading aircraft situation
* reading/writing COM1/2 settings
* reading/writing transponder
* reading aircraft title
2014-03-11 21:26:15 +01:00
Klaus Basan
0d306861f0 refs #140, removed MACRO DBUS_ENUM_MARSHALLING, changed to template
discussed in https://dev.vatsim-germany.org/issues/140#change-864
2014-03-11 21:08:59 +01:00
Klaus Basan
ffc03e46f5 refs #140 , refs #127 renamed aircraft.cfg and mapping class and tupelized it 2014-03-11 01:30:40 +01:00
Klaus Basan
2911c1d14a refs #127, CAircraftIcao: rename members 2014-03-11 01:28:27 +01:00
Klaus Basan
4db12d888e refs #74, refs#140 renamed CSimulator to CSimulatorInfo and tupelized class
CSimulatorInfo discussed https://dev.vatsim-germany.org/issues/74#note-6
2014-03-11 01:19:57 +01:00
Klaus Basan
94d80f6d20 refs #74 , removed default initializers (https://dev.vatsim-germany.org/issues/74#note-5) . Fixed == 2014-03-10 20:03:41 +01:00
Klaus Basan
53c3c814f8 refs #74 , minor tweak in CValueObject 2014-03-10 20:03:40 +01:00
Klaus Basan
d2429a4776 refs #74 , free functions (at this time registration of metadata) 2014-03-10 20:03:38 +01:00
Klaus Basan
a4ae1fc626 refs #74 , class for mapping. Still open whether this will be FSX/9/P3D specific, or global. 2014-03-10 20:03:37 +01:00
Klaus Basan
e519942c4a refs #74 , class for FSX aircraft.cfg entries 2014-03-10 20:03:36 +01:00
Klaus Basan
dc54621a90 refs #74 , dummy for Doxygen 2014-03-10 20:03:35 +01:00
Klaus Basan
f3724e7972 refs #74 , simulator class (describing used simulator). Remark: Maybe this will go to BlackMisc someday 2014-03-10 20:03:34 +01:00
Klaus Basan
b78bbc3138 refs #74 , added project BlackSim for simulator related classes 2014-03-10 20:03:33 +01:00
Klaus Basan
0437bf3381 refs #140 , adjust sample for DBus marshalling / unmarshalling in order to test "tupel-ized" classes
* Added further DBus tests
* Crossover from refs #85 , removed dependency from generator adaptor and XML files, as this will not work anymore in the future
* Removed from .pro DBUS_ADAPTORS , DBUS_INTERFACES, QDBUSXML2CPP_INTERFACE_HEADER_FLAGS , QDBUSXML2CPP_ADAPTOR_HEADER_FLAGS
* Added interface, as this will be no longer generated
* Removed samples no longer required, the sample no represents a framework to test DBus marshalling / unmarshalling
2014-03-10 15:07:43 +01:00
Klaus Basan
5ef31069d2 refs #140 , Doxygen comments to avoid warnings 2014-03-10 14:57:29 +01:00
Klaus Basan
34320ad3e1 refs #140, changed CValueObject classes to tupel concept
Remarks: Changes looking like an added file result from the shift of namespace voice -> audio
2014-03-10 14:48:56 +01:00
Klaus Basan
8f6a22e833 refs #140 , macro to enable enums in CValueObject classes for DBus marshalling, and hence to be used woth tupels. 2014-03-10 14:44:29 +01:00
Klaus Basan
dde9710144 Refs #140 , refs #85 Rename namespace voice to audio.
In #85 the voice context will be renamed to audio context, so the CValueObject classes will be renamed to namespace Audio too.
As #140 changes many CValueClasses, this crossover change is done in the same unit of work.
2014-03-10 14:43:06 +01:00
Mathew Sutcliffe
e93ef236af refs #140 doxygen, comment, and include tweaks 2014-03-07 23:15:58 +01:00
Mathew Sutcliffe
7f92b5dbc9 refs #140 to demonstrate the new tuple framework, adapted five typical value classes to use it 2014-03-07 23:15:57 +01:00
Mathew Sutcliffe
fcd3dc09ef refs #140 framework for using std::tuple to reduce repetitive coding in value classes 2014-03-07 23:01:25 +01:00
Klaus Basan
1b846f44c8 Fixed LIBS order, as I have run into gcc "undefined reference to" issued 2014-02-26 14:33:15 +01:00
Klaus Basan
5a16052e30 Fixed include in sound generator 2014-02-26 14:27:30 +01:00
Klaus Basan
b115e3901d refs #146 , check for valid transponder code. During testing I ran into a situation, where I've received an invalid XPDR code from the network.
This check resets XPDR to 0000 , further logging could be provided.
2014-02-26 03:44:37 +01:00
Klaus Basan
4c81a6f86d refs #146 added updating and reading of VATSIM data file , so name and cid are available almost immediately 2014-02-26 03:44:37 +01:00
Klaus Basan
724b424d60 refs #146 , added methods to update from data file reader (e.g.) updateFromVatsimDataFileAircraft
* updateFromVatsimDataFileStation
* updateFromVatsimDataFileAircraft
* Changed to 1 line comments //! where applicable
2014-02-26 03:44:36 +01:00
Klaus Basan
79aa17cdaf refs #146 , renamed method to dataRead like in CVatsimDataFileReader 2014-02-26 03:44:35 +01:00
Klaus Basan
a9385870e0 refs #146 , CVatsimDataFileReader reads the data file for VATSIM and provides all ATC stations and aircrafts
* Data can be completed by attributes from the data file
* All voice servers are available
* Predictions can be made, even if the user is not logged in
2014-02-26 03:44:34 +01:00
Klaus Basan
8208e5858a refs #146 , using ", " in convertToQString -> better readability and word wrap 2014-02-26 03:44:33 +01:00
Klaus Basan
92c0a23749 refs #146, changed CStatusMessage so type can be set for getInfoMessage 2014-02-26 03:44:32 +01:00
Klaus Basan
6a24626c79 refs #146, Minor changes and cleanup tasks
* CCallsign::getCallsignPronounced -> getTelephonyDesignator
* CAircraft , comments renamed to 1 line style //!
* CAtcStation, comments renamed to 1 line style //! and added method hasValidFrequency()
* CAvioTransponder changed formatting
* CUser, comments renamed to 1 line style //!
* CCallsign, m_callsignPronounced -> m_telephonyDesignator , comments renamed to 1 line style //!
2014-02-26 03:44:31 +01:00
Klaus Basan
a43621774b refs #144 , improved SELCAL in a way that SELCAL tones will always end with 0 amplitude.
* method to write values in buffer -> writeAmplitudeToBuffer
* fixes the range from the last 0 pass so SELCAL tones will always end with 0 amplitude
2014-02-26 03:40:58 +01:00
Klaus Basan
59ff750b4a refs #144 , improved file deleter , no dependency of QObject anymore, now using single deleter object 2014-02-26 03:40:57 +01:00
Klaus Basan
7177d53552 refs #144 , sounds now can be generated, saved in a temp wav file, then played 2014-02-26 03:40:56 +01:00
Klaus Basan
7b1fa5617d refs #144 Util class, deleting temp files when application shuts down. First used with soundgenerator's temp. wav-files 2014-02-26 03:40:55 +01:00
Klaus Basan
9d7bd68433 refs #139 , improved version of CKeyboardLineEdit widget
* CKeyboardLineEdit supports CKeyboardKey to set all details directly to object, sets native scan code, and native virtual code
* CKeyboardKeyListModel::setData supports specialized line edit and combo box
* fixed some wrong overrides
2014-02-26 03:38:35 +01:00
Klaus Basan
cdb6009b0d refs #139 , added method to directly get indexToPropertyIndex by QModelIndex 2014-02-26 03:38:33 +01:00
Klaus Basan
f4d1eadbe5 refs #139 , allows to store the native scan code and the virtual key code. Adjusted list to use changed constructor. 2014-02-26 03:38:33 +01:00
Klaus Basan
b52ef641c2 refs #91 , Doxygen 2014-02-26 03:38:32 +01:00
Klaus Basan
87352df468 refs #139 added keyboard key list to settings, so values can be changed 2014-02-26 03:38:30 +01:00
Klaus Basan
bb5865936b refs #139 added registration for CKeyboardKey et.al. 2014-02-26 03:38:29 +01:00
Klaus Basan
a42f67ef9a refs #139 list for keyboard keys and the corresponding models for the GUI 2014-02-26 03:38:28 +01:00
Klaus Basan
2c75fa4ab0 refs #139 , updated models to support new CColumn class and editable columns 2014-02-26 03:38:27 +01:00