Searched refs:ledDescr (Results 1 – 3 of 3) sorted by relevance
38 std::string InternalInterface::getDbusName(const LedDescr& ledDescr) in getDbusName() argument41 if (ledDescr.devicename.has_value()) in getDbusName()43 words.emplace_back(ledDescr.devicename.value()); in getDbusName()45 if (ledDescr.function.has_value()) in getDbusName()47 words.emplace_back(ledDescr.function.value()); in getDbusName()50 if (ledDescr.color.has_value()) in getDbusName()52 words.emplace_back(ledDescr.color.value()); in getDbusName()82 const LedDescr ledDescr = sled->getLedDescr(); in createLEDPath() local84 name = getDbusName(ledDescr); in createLEDPath()99 ledDescr.color.value_or(""))); in createLEDPath()
71 static std::string getDbusName(const LedDescr& ledDescr);
146 LedDescr ledDescr; in getLedDescr() local186 ledDescr.function = words.at(2); in getLedDescr()187 ledDescr.color = words.at(1); in getLedDescr()188 ledDescr.devicename = words.at(0); in getLedDescr()191 ledDescr.color = words.at(0); in getLedDescr()192 ledDescr.function = words.at(1); in getLedDescr()195 ledDescr.devicename = words.at(0); in getLedDescr()202 return ledDescr; in getLedDescr()