History log of /openbmc/boost-dbus/test/message.cpp (Results 1 – 9 of 9)
Revision Date Author Comments
# a04118e8 06-Sep-2017 Ed Tanous <ed.tanous@intel.com>

Update pack and unpack to be able to detect runtime errors

This commit makes a breaking API CHANGE! ! ! ! ! !
dbus message no longer supports streaming operators for unpacking and
pa

Update pack and unpack to be able to detect runtime errors

This commit makes a breaking API CHANGE! ! ! ! ! !
dbus message no longer supports streaming operators for unpacking and
packing.
This behavior seemed odd in the first place, and lead to some poor API
issues. It was also redundant to the much more used messsage.pack
which had far more features, and was much more useable. message.pack
now returns a bool, indicating whether or not the unpack/pack succeeded.
properties API is also updated to use this new interface to its
advantage, allowing badly formatted pack statements (which should be
expected at runtime) to not require throwing an exception to handle.

Change-Id: I8da22e19106f3c764acfea3db13adc974aa2cb9f

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_

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 ...


# 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

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 ...


# 82a51ce2 21-Jun-2017 Ed Tanous <ed.tanous@intel.com>

make changes for vernon


# da3eeb6a 06-Jun-2017 Ed Tanous <ed.tanous@intel.com>

Basic dbus cleanup


# 44d24258 21-Jun-2014 Benjamin Kietzman <bengilgit@gmail.com>

Added streaming pack/unpack interface to messages


# 4317e4d9 28-May-2014 Benjamin Kietzman <bkietzman@esri.com>

Added message factories


# 16d80fe9 28-May-2014 Benjamin Kietzman <bkietzman@esri.com>

Added endpoint - closes #17


# 3b5db5bc 28-May-2014 Benjamin Kietzman <bkietzman@esri.com>

fix #3, minor other message enhancements