Lines Matching full:profile
16 #include "profile.hpp"
33 const std::map<std::string, methodHandler> Profile::_methods = {
34 {"all_of", Profile::allOf}};
36 Profile::Profile(const json& jsonObj) : ConfigBase(jsonObj), _active(false) in Profile() function in phosphor::fan::control::json::Profile
41 void Profile::setActive(const json& jsonObj) in setActive()
45 // Log error on missing profile method in setActive()
46 lg2::error("Missing required profile method", "JSON", jsonObj.dump()); in setActive()
47 throw std::runtime_error("Missing required profile method"); in setActive()
49 // The method to use in determining if the profile is active in setActive()
55 // Call method for determining profile's active state in setActive()
72 bool Profile::allOf(const json& method) in allOf()