sdbus++: generate header for server bindings

Add a 'server-header' command to sdbus++ that generates a class
definition for the server bindings.  This class defines static
functions for registering as sd-bus callbacks and virtual C++
functions to implement the method behavior.

It is expected that a server implementation will create a class,
which inherits from this generated class, and implement all of
the method behaviors.  Instances of the class will then register
on construction with sd-bus.

Signals and properties are not yet supported.

Change-Id: If0ec37b2acb6f8d528358004ec91dbe979644df7
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
5 files changed
tree: 75d4d42eec33b5280c8fe17f8e8cb6d09fc506b6
  1. mapbox/
  2. sdbusplus/
  3. test/
  4. tools/
  5. .gitignore
  6. LICENSE