summaryrefslogtreecommitdiffstats
path: root/generated.mako.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Rewrite pimgen in the image of sdbus++Brad Bishop2017-01-121-34/+52
| | | | | | | | | | | Almost complete rewrite of pimgen and the mako template. Adopt the sdbus++ application structure. The hope is that this will encourage additional sdbusplus features deemed general purpose enough for reuse with other applications. Change-Id: I007ff9f5fc9a64f0465159bd1301475ada139d55 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Allow arrays of dbus eventsBrad Bishop2017-01-121-3/+4
| | | | | | | | The current event <-> action relationship is one to many. Allow a many to many relationship to be expressed. Change-Id: Ibfb995cbf677b21757864dc62d9a3818af6c2aa3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Add event frameworkBrad Bishop2017-01-111-3/+4
| | | | | | | | Introduce the concept of events, where the existing Dbus signal match event is one of many possible event classes. Change-Id: I9b0c6ca12daaa109f8ceb537a5fb0cc6b5f7181b Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Use a vector for eventsBrad Bishop2016-12-151-1/+0
| | | | | | | | | The events structure is never inserted into, searched and the keys aren't used. This was a poor choice of data structure. Change-Id: I46135e9128b3380712234e86674e53af10b37053 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Enable multiple actions per eventBrad Bishop2016-12-151-3/+4
| | | | | | | | Reduce the number of dbus signal callbacks by enabling multiple actions for a single event. Change-Id: I944eea6ac450c2ea9a201e724765edbef4e677b4 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Removed duplicated Holder adaptersBrad Bishop2016-12-151-7/+8
| | | | | | | | Refactor copy/pasted action/filter/interface object adapter types into a single templated framework. Change-Id: Iafbd814572a7db13fddc5314617e310fe5f0a062 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Use sdbusplus object wrapperBrad Bishop2016-11-221-1/+2
| | | | | | | | | | | Use sdbusplus::server::object::object to wrap interfaces. This is the preferred way to ensure created objects emit freedesktop ObjectManager signals. Resolves openbmc/openbmc#756 Change-Id: Ia57057e0227ed92bef77f28e42942194f5e802f3 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* React to sdbus++ updatesBrad Bishop2016-11-221-2/+7
| | | | | | | | Update example interfaces to use non language specific type specifiers. React to namespace shuffling in sdbusplus 7aa8a1e2e. Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com> Change-Id: Ib0688056d6fcfbe298d8a24ae9df604cd05fa620
* Switch to generated interface factory methodsBrad Bishop2016-11-081-0/+13
| | | | | | | | Automatically populate the association of interface with an appropriate sdbusplus server side interface binding. Change-Id: Ie46d91cf2e6726b033789be6228c10ca14a76220 Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
* Use a Mako template for generated code.Brad Bishop2016-11-081-0/+60
Change-Id: I8901e7719da57f13eff7ba49d50113b01fec88aa Signed-off-by: Brad Bishop <bradleyb@fuzziesquirrel.com>
OpenPOWER on IntegriCloud