diff options
author | Milian Wolff <milian.wolff@kdab.com> | 2013-11-21 13:11:03 +0100 |
---|---|---|
committer | Milian Wolff <milian.wolff@kdab.com> | 2013-12-11 13:08:40 +0100 |
commit | acf7f0b1ae956f2fac7182c194e0441cd9c6f4d0 (patch) | |
tree | 21420faece9a6c1eca68727c916660c9a286c912 /src/webchannel/variantargument_p.h | |
parent | b6158dc3525c1c906d4040b2e88cd20feb21a2b2 (diff) | |
download | qtwebchannel-acf7f0b1ae956f2fac7182c194e0441cd9c6f4d0.tar.gz |
Port the MetaObjectPublisher to C++.
This will allow us to create a stand-alone WebChannel C++ library,
without any QML dependencies, that can be used to publisher QObjects
to remote clients running in any browser engine supporting WebSockets.
The patch is large, as working with introspection through the
QMetaObject from C++ is more complicated compared to QML.
On the other hand, the move to C++ allows a much more performant
implementation of quite some parts of the publisher. One thing is
that signal and method invocations can be handled via numeric indices,
where before we needed to transmit the string identifier of the
signal or method.
Eventually this can now also be applied to properties, further
decreasing the size of messages between server and clients.
Note that this patch contains quite some TODOs and rough edges,
such as the invokable bench_* helper functions in the public API
of the MetaObjectPublisher. These are to be seen as temporary, and
will be cleaned up in followup commits later. This is done to prevent
a further blow-up of this already big patch.
Change-Id: I57e788d8a19edd410651611382d912f9ad6660c9
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/webchannel/variantargument_p.h')
0 files changed, 0 insertions, 0 deletions