e3b0bf5b | 05-Sep-2017 |
Ed Tanous <ed.tanous@intel.com> |
update properties interface to use its own method handling
This change updates the properties API handling in the DbusObjectServer to utilize its own method handling routines, instead of setting up
update properties interface to use its own method handling
This change updates the properties API handling in the DbusObjectServer to utilize its own method handling routines, instead of setting up its own filter.
Change-Id: If32706d6aa9da41c39feb07513b364ae8f72d8b6
show more ...
|
377e76ab | 29-Aug-2017 |
Ed Tanous <ed.tanous@intel.com> |
Imrprove boost-dbus high level interfaces
This commit has been squashed fromt the dbusproperties branch, and adds quite a few pices of functionality.
1. Template called element_signature that can s
Imrprove boost-dbus high level interfaces
This commit has been squashed fromt the dbusproperties branch, and adds quite a few pices of functionality.
1. Template called element_signature that can sucessfully map complex c++ types (like std::vector<std::string, variant>) to their equivalent dbus signatures at compile time. 2. Implements a high level dbus interface that exposes properties, objects, and interfaces as first class c++ objects, and manages their lifecycle correctly. See unit tests for examples. 3. implements variadic template registration for lambda functions, such that function prototypes are automatically determined at compile time, thus removing the requirement to do this by hand for each interface.
Change-Id: I43efed4fc63f7e2d69ac85918e0f6d3011a12d86
show more ...
|
77e62c83 | 25-Aug-2017 |
Ed Tanous <ed.tanous@intel.com> |
Fix memory leaks
Dbus wants to manage its own memory, which is difficult to coerce with smart pointers. This patch fixes the places where the smart objects were getting destroyed, but the dbus ref
Fix memory leaks
Dbus wants to manage its own memory, which is difficult to coerce with smart pointers. This patch fixes the places where the smart objects were getting destroyed, but the dbus ref count was never going to zero
Change-Id: I47d8a58387766c376d2e3b61671b5d82977c80e0
show more ...
|
01cae3fe | 23-Aug-2017 |
Ed Tanous <ed.tanous@intel.com> |
Make dbus queue movable
THis allows adding all derived objects (namely filters) to be moved as well, which allows them to be put into vectors. Not clear if this is the right move for now, but seems
Make dbus queue movable
THis allows adding all derived objects (namely filters) to be moved as well, which allows them to be put into vectors. Not clear if this is the right move for now, but seems to work, and boost-dbus multithreading is touchy to begin with.
Change-Id: I3f7618a7fe3581c856b12b05ef82ff509e8977c8
show more ...
|
0250ca19 | 07-Aug-2017 |
Ed Tanous <ed.tanous@intel.com> |
Fix issue with boost-dbus
boost-dbus tries to use perfect forwarding to register async handlers. This causes issues when attempting to use a lambda, as a lambda can't be static_cast to a std::functi
Fix issue with boost-dbus
boost-dbus tries to use perfect forwarding to register async handlers. This causes issues when attempting to use a lambda, as a lambda can't be static_cast to a std::function, which queue requires. Remove perfect forwarding and make the interfaces make more sense for constructible objects
Change-Id: I154a92ef1fd3cd0d0431eb3b2fd49ef7870f5f31
show more ...
|
f6c70586 | 23-Aug-2017 |
Ed Tanous <ed.tanous@intel.com> |
Fix issue with boost dbus only supporting 2 arguments to an unpack
Variadic templates have eccentricities that weren't fully covered in unit tests. THis fixes a compile error when unpacking or pack
Fix issue with boost dbus only supporting 2 arguments to an unpack
Variadic templates have eccentricities that weren't fully covered in unit tests. THis fixes a compile error when unpacking or packing more than 3 arguments at a time.
Change-Id: I144d2350b61262e99828bf776fb3144ffbc57f23
show more ...
|
0aef8864 | 01-Aug-2017 |
Ed Tanous <ed.tanous@intel.com> |
Clean up some todos
Use the type system as intended to get the variant types correct. This means that attempting to decode error conditions will fail gracefully, and the type system will be obeyed
Clean up some todos
Use the type system as intended to get the variant types correct. This means that attempting to decode error conditions will fail gracefully, and the type system will be obeyed for both packing and unpacking (ie, trying to pack or unpack an unrecognized type will result in a compiler error)
Change-Id: Ifedf0e168f2dc0e01f21090564bfc7eeb92aa161
show more ...
|
0d6f56d2 | 31-Jul-2017 |
Ed Tanous <ed.tanous@intel.com> |
Implement variadic templates for pack/unpack
As well as update unit tests to use variadic pack and unpack.
Fix error handler to not seg fault while processing an exception
Change-Id: I7978035c2682
Implement variadic templates for pack/unpack
As well as update unit tests to use variadic pack and unpack.
Fix error handler to not seg fault while processing an exception
Change-Id: I7978035c26820b35e64487e4afd9f1312bcd8225
show more ...
|
47de18d4 | 05-Jul-2017 |
Ed Tanous <ed.tanous@intel.com> |
Fix seg fault in error handling |
b573e22e | 27-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
Upgrade filter and match to use shared_ptr to connection instead of raw reference |
b6446bd2 | 28-Jun-2017 |
Vernon Mauery <vernon.mauery@intel.com> |
Add a cmake interface libary installation
this should make it so all users of the library only need to add: target_link_libraries(<other-target> LINK_INTERFACE_LIBRARIES boost-dbus) |
458a9c10 | 23-Jun-2017 |
Vernon Mauery <vernon.mauery@intel.com> |
additions to make method calls work
Add method call framework (not much needed) and a unit test for method call implementation (i.e., listening for a method call). |
5d4bd2bd | 27-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
Update dbus to support dicts/vectors/arrays and all combinations therein |
82a51ce2 | 21-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
make changes for vernon |
b6e8327a | 09-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
incremental |
cf5ca673 | 06-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
Add clang-format |
da3eeb6a | 06-Jun-2017 |
Ed Tanous <ed.tanous@intel.com> |
Basic dbus cleanup |
8f81b71d | 31-Jan-2015 |
Benjamin Kietzman <bengilgit@gmail.com> |
merging changes from @cawka to close #20 |
44d24258 | 21-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Added streaming pack/unpack interface to messages |
e9ee8b53 | 21-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
simplified typedefs and packer.ipp |
a8487f4d | 19-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Implemented streamish packing interface |
d2831c01 | 18-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
added typedefs and codes for more message elements |
d977442c | 14-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
introducing impl::message_iterator to power new packing interface |
b2c2467d | 06-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Downgraded to C++03 |
b55ed5d5 | 05-Jun-2014 |
Benjamin Kietzman <bengilgit@gmail.com> |
Refactored C-API calls out of connection_service.hpp |