commit | 7f6946b206c0bfcd047d4bfa70a8f8009bff583e | [log] [tgz] |
---|---|---|
author | Matt Spinler <spinler@us.ibm.com> | Fri May 14 12:43:50 2021 -0500 |
committer | Matt Spinler <spinler@us.ibm.com> | Tue May 25 12:54:40 2021 -0600 |
tree | bf3149bfbe3e44247ebcd69c9b1d43d735d40229 | |
parent | 66e75a706dcf9ab7b61842fd3e3a251d4a2620d1 [diff] |
sensor:monitor: Use a single PowerState object Now that both monitor classes need to know about power state, change them to keep a shared_ptr to a PowerState object and then pass the object into their constructors. Signed-off-by: Matt Spinler <spinler@us.ibm.com> Change-Id: Ia83217e8af51204bbb3fc6e8e3f2eac5912b5913