Klaus Basan
679b34c7f4
refs #199 , cleaned up contexts a bit after rebasing to current master
...
* friend CRuntime on top
* fixed some public constructors (made protected)
* Also made registerWithDBus protected
* Fixed some copy/paste issues in getIContextXXX
* Reordered private/public sections
2014-04-17 00:06:05 +02:00
Klaus Basan
fad31aa09a
refs #198 , enabled settings context to read / write JSON settings from/to file
2014-04-17 00:05:58 +02:00
Klaus Basan
6327c3a1cb
refs #198 , made DBus address static, so it can be used elsewhere in the settings
2014-04-17 00:05:54 +02:00
Klaus Basan
0d53d44157
refs #199 , refs #85 Moved specialized value method into right place (impl, not proxy - it is a receiver method)
...
This specialized method can be removed with refs #116
2014-04-17 00:05:51 +02:00
Klaus Basan
3c23963a25
refs #199 , init removed
...
cross context wiring should be done in the runtime class.
2014-04-17 00:05:50 +02:00
Klaus Basan
77fd3bcd70
refs #199 , adjusted context classes
...
* removed usingLocalObjects() now in CContext
* removed getRuntime() now in CContext
* Constructors no longer public, context can only be obtained via runtime object
* runtime class is friend class
2014-04-17 00:05:47 +02:00
Klaus Basan
0b033fdcac
refs #199 , context base class to simplify handling
...
* usingLocalObjects() now derived from runtime config, no need to override it in contexts
* getRuntime in base class, no longer to implement it in each context class
2014-04-17 00:05:46 +02:00
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