#
926df663 |
| 09-Oct-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Separate handlers for signals and method calls
Signals and method calls have different parameter structures. When the associated event trigger is chosen, what's generated to retrieve the dbus data i
Separate handlers for signals and method calls
Signals and method calls have different parameter structures. When the associated event trigger is chosen, what's generated to retrieve the dbus data is specific to that trigger event. For signals, the data is read from the given signal message. A method call is method specific and is called to be done against all of the members within the event group.
Change-Id: I92cbdbf05852fbaa7f1b56ed518e30278cdf840b Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
cd3bfbc1 |
| 07-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Add event init trigger
An event defined with an init trigger will run the event's actions upon the event initializing. An event initializes when the fan control application starts or at anytime an e
Add event init trigger
An event defined with an init trigger will run the event's actions upon the event initializing. An event initializes when the fan control application starts or at anytime an event's precondition is valid.
Tested: Used missing fan action to set a speed at application start Used missing fan action to set a speed upon valid precondition
Change-Id: I96a36425a2ca345371c27d7b580070bec28acaa1 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
016bd24c |
| 07-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Move signals to event triggers
Move the generation and initialization of signals to be included in the available event triggers. The signal trigger consists of subscribing to a given signal match wh
Move signals to event triggers
Move the generation and initialization of signals to be included in the available event triggers. The signal trigger consists of subscribing to a given signal match where when the signal is received and handled, it causes the event actions to be called.
Tested: All current event signals are still registered and received Speed changes occur based on temperature sensor change signals
Change-Id: Iab4ccabb50ad910d5d566bd8c1922109638bd760 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|
#
1b4de26a |
| 06-Mar-2018 |
Matthew Barth <msbarth@us.ibm.com> |
Call event triggers on initialization
Move timers to be an event trigger function that is called upon event initialization. Previously, event timers were created and started directly within the init
Call event triggers on initialization
Move timers to be an event trigger function that is called upon event initialization. Previously, event timers were created and started directly within the initialization of the event, this moves the creation and starting of a defined event timer to within a selectable event trigger function.
With the creation of event triggers, an event can be defined with a list of supported triggers used to execute the actions, if defined, of the event. In the case no actions are given, the trigger is still used.
Tested: Timer triggers are created/started correctly for an event Events with no actions have timers created/started as defined
Change-Id: I9ab13a4269b2035095cadbbe2c613a16df469589 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
show more ...
|