Commit Graph

363 Commits

Author SHA1 Message Date
Klaus Basan
4441b44d53 refs #199 , the context runtime now can be initialized for local and for remote objects.
* In order to configure how a context is deployed, a runtime config object has been added
* Context now only can be obtained from the runtime, the constructors of contexts will be no longer public
* The runtime is responsible for connecting signal/slots among contexts
* The runtime reads the settings
2014-04-17 00:05:44 +02:00
Klaus Basan
8603bc1cb0 refs #199, renamed coreruntime to context_runtime 2014-04-17 00:05:43 +02:00
Klaus Basan
8d5e06a439 refs #199 and refs #198, formatting / Doxygen as preparation for some refactoring.
Also added new icon as application and table view icon.
2014-04-17 00:05:41 +02:00
Klaus Basan
cf009d7b17 refs #198, renaming of method (for consistency) and Doxygen/formatting only 2014-04-17 00:05:39 +02:00
Roland Winklmeier
54fe898ff8 Fix crash when a plugin with a different interface
is found
2014-04-13 18:40:19 +02:00
Mathew Sutcliffe
37296e1822 refs #179 & #147 Added INetwork methods getStatusUrls and getKnownServers.
Added CServer member isAcceptingConnections.
2014-04-03 23:08:09 +01:00
Mathew Sutcliffe
da5a42c556 refs #179 sendCustomPacket slot and customPacketReceived signal 2014-04-03 23:08:07 +01:00
Mathew Sutcliffe
fde307e661 refs #179 don't call terminate from onKicked, as the shim lib does this now 2014-04-03 23:08:05 +01:00
Mathew Sutcliffe
6558052757 refs #179 using the correct capabilities string constant for stealth mode 2014-04-03 23:08:03 +01:00
Mathew Sutcliffe
8e732b1ad6 refs #179
added ConnectionStatus enum values DisconnectedFailed and DisconnectedLost
added extra argument to connectionStatusChanged signal, containing the socket error message
2014-04-03 23:08:01 +01:00
Mathew Sutcliffe
b4256298e7 refs #48 INetwork sending flight plans 2014-04-03 23:06:54 +01:00
Roland Winklmeier
dec49dba7f Moved FSX specific implementation into blacksim/fsx and
converted it into a plugin.

refs #190
2014-03-30 14:49:22 +02:00
Roland Winklmeier
05d96fa48d Connect CContextNetwork with CContextSimulator
refs #186
2014-03-30 14:47:22 +02:00
Roland Winklmeier
6439431030 Add methods to add and remove remote aircrafts/situations
Extend gear to 100 % by default. Aircraft is default B737
refs #186
2014-03-30 14:47:21 +02:00
Roland Winklmeier
08fd9a5cbc Add data definition for remote aircraft and configuration
refs #186
2014-03-30 14:47:21 +02:00
Roland Winklmeier
00356bbef6 Linear interpolator implementation
refs #169
2014-03-30 13:46:10 +02:00
Roland Winklmeier
fcbbe694ec Refactored Interpolator to be an abstract interface class
CInterpolator is now an IInterpolator interface. Sublcass in order
to implement different types of interpolation.

refs #169
2014-03-30 13:45:04 +02:00
Klaus Basan
bbb4ddbaef refs #196, fixed wrong inits with ModeS instead of StateStdby (Transponder) 2014-03-27 01:55:19 +01:00
Klaus Basan
948947f8d7 Fixed conversion of new Cvatlib_Network::connStatus_ConnectionLost: 2014-03-26 19:50:52 +01:00
Mathew Sutcliffe
cc98a86e42 moved metarReplyReceived to the correct section (weather signals) 2014-03-22 17:47:10 +00:00
Klaus Basan
b1a5ada3a4 Merge branch 'master' of dev.vatsim-germany.org:vatpilotclient/client 2014-03-12 02:28:50 +01:00
Klaus Basan
1dbb44d31d refs #85 , removed xml files (DBus) 2014-03-12 02:25:05 +01:00
Klaus Basan
f2364692e3 refs #145, fixed some .pro/.pri files to new style 2014-03-12 02:23:34 +01:00
Roland Winklmeier
805a751071 Fixed not DBus registered method from CContextSimulator
CContextSimulator::ownAircraft was not a public slot and therefore
not available via DBus. In the same step renamed the method
to getOwnAircraft to be consistent.
2014-03-12 00:41:55 +01:00
Roland Winklmeier
200c2612e5 Fixed typo introduced by former shimlib (corrected in shimlib 0.4.15) 2014-03-11 22:28:04 +01:00
Roland Winklmeier
5cac09f625 Fixed issues arised after merge
- wrong namespace in newly created headers
- wrong includes
- Fixed members in CKeyboardKey
- Fixed CKeyboardKey unit test
2014-03-11 22:24:25 +01:00
Roland Winklmeier
0349d8f212 Added a build flag for FSX specific code
FSX SimConnect code is build and linked only if enabled
by the build configuration.

refs #145
2014-03-11 22:01:32 +01:00
Roland Winklmeier
e978b6dee1 Central build configuration
* config.pri: Build configuration version
* library.pri project library dependencies
* build.pri: compiler/qmake configuration

refs #145
2014-03-11 22:01:31 +01:00
Roland Winklmeier
811bbdfe4e Reload hotkey settings when they have changed
This also includes changing the registration

refs #83
2014-03-11 21:56:55 +01:00
Roland Winklmeier
abb20a5154 Change CVoiceVatlib to use new IKeyboard interface
refs #83
2014-03-11 21:56:54 +01:00
Roland Winklmeier
a7465fa6a3 Windows implementation of IKeyboard interface
Located in a win subfolder. It uses keyboard hooks to get
key up and down events. Keymapping is done in a separate
windows specific class.

refs #83
2014-03-11 21:50:25 +01:00
Roland Winklmeier
f8ce8a84cd IKeyboard interface
This is the main interface for platform specific implementations.
It is a singleton design, since we need one object per process.

refs #83
2014-03-11 21:50:24 +01:00
Roland Winklmeier
b0d55687bd Refactored inheritance hierarchy of ContextSettings
refs #85
2014-03-11 21:44:58 +01:00
Roland Winklmeier
ac8ade5e05 Refactored inheritance hierarchy of ContextNetwork
refs #85
2014-03-11 21:44:58 +01:00
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
2911c1d14a refs #127, CAircraftIcao: rename members 2014-03-11 01:28:27 +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
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
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
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
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