blob: 8ed2ab041174879e6c58227b252e3a34dcec0671 [file] [log] [blame]
Vishwanatha Subbanna4c8c72b2016-11-29 23:02:06 +05301#include <sdbusplus/message.hpp>
2#include "group.hpp"
3namespace phosphor
4{
5namespace led
6{
7
8/** @brief Overloaded Property Setter function */
9bool Group::asserted(bool value)
10{
11 // Group management is handled by Manager
12 auto result = manager.setGroupState(path, value);
13
14 // Set the base class's asserted to 'true' since the getter
15 // operation is handled there.
16 return sdbusplus::xyz::openbmc_project::Led::server::
17 Group::asserted(result);
18}
19
20} // namespace led
21} // namespace phosphor