Commit Graph

33 Commits

Author SHA1 Message Date
Klaus Basan
c285ac4098 refs #358, created a mapper class (links mappings with existing models)
* read models and mappings / in background if required
* provides functions to access read mappings and models
2014-12-28 20:46:25 +01:00
Klaus Basan
514b0f4bed refs #358, added utility function to mapping rules reader
* renamed load to read
* functions for problematic files, number of files etc.
* some style fixes
2014-12-28 20:46:18 +01:00
Klaus Basan
366769a6b8 Formatting, doxygen, typo aircrafts (to aircraft),
removed some debug output, {} in if statements
2014-12-28 20:46:14 +01:00
Klaus Basan
ca19ee8053 refs #358, added a utility class for FS 2014-12-28 20:46:11 +01:00
Klaus Basan
3cdc485e56 refs #358, extended FS specific class for cfg entries
* more details fetched
* conversion to aircraft model / aircraft mode list (FS specific to generic)
* detect functions to find possible trouble makers
2014-12-28 20:46:08 +01:00
Klaus Basan
bdcb031591 refs #358, consolidated mapping and model classes
* removed redundant classes in blacksim
* more detailed attributes for mapping
* more finder functions in mapping list
* aircraft model extended as simulator independent description for models
2014-12-28 20:46:04 +01:00
Klaus Basan
e4bea8ffa8 refs #354, initial cleanup of cfg entries samples / code before adding new functionality
* fixed styles such as copyright headers
* use text stream instead of qDebug() for output
* int instead of qint
* misc. smaller tweaks
* extended the JSON example (special chars). JSON might be used to "cache" the FSX entries
2014-12-28 19:38:26 +01:00
Mathew Sutcliffe
48f04a4750 refs #247 Using CVariant in property index system. 2014-12-13 01:41:58 +00:00
Mathew Sutcliffe
f52cdd596e refs #247 All our value classes registered with our new custom metatype system. 2014-12-13 01:41:47 +00:00
Mathew Sutcliffe
a2c0a893c0 refs #247 Fixed mistakes. 2014-12-13 01:38:46 +00:00
Mathew Sutcliffe
4c8148acf1 refs #345 First wave of value classes using the CValueObjectStdTuple CRTP class template. 2014-11-10 20:44:25 +00:00
Mathew Sutcliffe
798b198d4e refs #345 Style and doxygen. 2014-11-10 20:42:31 +00:00
Roland Winklmeier
b1df5d59d9 refs #341 Fixed initialization of m_changed 2014-11-05 16:34:24 +01:00
Klaus Basan
a6ebfc0e0b Bug fixes and improvements for PropertyIndex discovered during refs #319, mainly contributing to refs #314
* Start index 10 instead 0 for CValueObject (easier to detect bugs)
* Fixed wrong indexes
* Asserts in CPropertyIndex
* Used Icon instead of QPixpmap with indexes, icons are sortable and have a tooltip
* Removed redundant toQVariant methods
2014-09-04 01:38:10 +02:00
Klaus Basan
c1895c1ab2 refs #314, fixed missing virtual keyword and Doxygen comment 2014-08-25 13:10:13 +02:00
Klaus Basan
40b428a315 refs #314, renamed convertFromQVariant, convertFromJson
discussion: https://dev.vatsim-germany.org/issues/314#note-19
2014-08-24 02:47:16 +02:00
Klaus Basan
290abe3693 refs #314, fromQVariant / location of toQVariant
* renamed fromQVariant to convertFromQVariant, the "from" methods imply the object is changed (fromJson, fromString ..)
* implemented fromQVariant - changing the object by QVariant
* moved toQVariant into PQ template
* free function setFromQVariant
2014-08-24 02:47:05 +02:00
Klaus Basan
e109d73ba2 refs #314, new propertyBy methods (nested indexes) 2014-08-24 02:46:59 +02:00
Klaus Basan
3fb5087ea8 Renaming, header, Doxygen, formatting (during refs #314) 2014-08-24 02:45:52 +02:00
Mathew Sutcliffe
101c5a4f98 refs #290 using a CRange of iterator adaptors to return from the primary predicate-based methods of CRangeBase without copying elements 2014-07-13 20:30:20 +01:00
Klaus Basan
abd2d6d86d Some fixes / tweaks / Doxygen:
* helper method to detect disconnected state
* clear ATC info if disconnected or not available
* unit test for "finders"
* added Doxygen file
* formatting frequency in text message tabs
2014-06-28 18:01:54 +02:00
Klaus Basan
ab77f19544 refs #267, moved vPilot reader in namespace fscommon, as it is specific for FSX/FS9/P3D 2014-06-23 01:19:27 +02:00
Mathew Sutcliffe
b0ecaff4da refs #245 removed nested tie workarounds for tuples with >10 members 2014-06-13 13:16:05 +01: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
Klaus Basan
6d67874dff Added missing Doxygen comment 2014-05-14 23:23:58 +02:00
Klaus Basan
4d57a50fd2 refs #236, aircraft indexer to read FSX/9 models on disk in background 2014-05-13 01:21:32 +02:00
Klaus Basan
5e8460e28f refs #182, added tupel tie for aircraftmapping.h 2014-04-17 00:09:04 +02:00
Klaus Basan
88fb9e8832 refs #192, enable value objects for JSON:
* from/toJson methods
* jsonMembers where applicable
2014-03-26 20:18:42 +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
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
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