summaryrefslogtreecommitdiffstats
path: root/argument.hpp
diff options
context:
space:
mode:
authorMatthew Barth <msbarth@us.ibm.com>2017-08-04 09:43:11 -0500
committerMatthew Barth <msbarth@us.ibm.com>2017-08-07 15:17:16 -0500
commiteb639c575a7964b849117cc70b6102f17a2dc32a (patch)
tree5338ce9ab57507a7f2af2bb0ee923ba8191a5a5a /argument.hpp
parentccc7770ecd6b758fcef98ce9e7cd585af3f3c77f (diff)
downloadphosphor-fan-presence-eb639c575a7964b849117cc70b6102f17a2dc32a.tar.gz
phosphor-fan-presence-eb639c575a7964b849117cc70b6102f17a2dc32a.zip
Add support to handle InterfacesAdded signals
Set speed events can not subscribe to InterfaceAdded signals for properties that are created after fan control initializes the event. Fan control subscribes to property changed signals for all events upon startup where any properties that do not exist are unable to be subscribed to and be notified when their property changes. Therefore, subscribing to the InterfacesAdded signals for properties as well allows any property defined within a set speed event that may not exist upon starting the fan control application get added or updated when the interface it resides on is added. When a subscribed InterfacesAdded signal is caught, the same setProperty handler function will be used to add the property value for the object path, interface, and property name defined to be subscribed to for property change signals. Change-Id: If6fe97288140b83e2e2d735fdf61d52de1ec2e88 Signed-off-by: Matthew Barth <msbarth@us.ibm.com>
Diffstat (limited to 'argument.hpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud