construct(const IdType &id, const nlohmann::json &state) | hueplusplus::ResourceList< Resource, IdT > | inlineprotected |
exists(const IdType &id) | hueplusplus::ResourceList< Resource, IdT > | inline |
exists(const IdType &id) const | hueplusplus::ResourceList< Resource, IdT > | inline |
factory | hueplusplus::ResourceList< Resource, IdT > | protected |
get(const IdType &id) | hueplusplus::ResourceList< Resource, IdT > | inline |
getAll() | hueplusplus::ResourceList< Resource, IdT > | inline |
IdType typedef | hueplusplus::ResourceList< Resource, IdT > | |
maybeStoi(const std::string &key) | hueplusplus::ResourceList< Resource, IdT > | inlineprotectedstatic |
maybeToString(const IdType &id) | hueplusplus::ResourceList< Resource, IdT > | inlineprotectedstatic |
operator=(const ResourceList &)=delete | hueplusplus::ResourceList< Resource, IdT > | |
operator=(ResourceList &&)=default | hueplusplus::ResourceList< Resource, IdT > | protected |
path | hueplusplus::ResourceList< Resource, IdT > | protected |
refresh() | hueplusplus::ResourceList< Resource, IdT > | inline |
remove(const IdType &id) | hueplusplus::ResourceList< Resource, IdT > | inline |
ResourceList(std::shared_ptr< APICache > baseCache, const std::string &cacheEntry, std::chrono::steady_clock::duration refreshDuration, bool sharedState=false, const std::function< Resource(IdType, const nlohmann::json &, const std::shared_ptr< APICache > &)> &factory=nullptr) | hueplusplus::ResourceList< Resource, IdT > | inline |
ResourceList(const HueCommandAPI &commands, const std::string &path, std::chrono::steady_clock::duration refreshDuration, const std::function< Resource(IdType, const nlohmann::json &, const std::shared_ptr< APICache > &)> &factory=nullptr) | hueplusplus::ResourceList< Resource, IdT > | inline |
ResourceList(const ResourceList &)=delete | hueplusplus::ResourceList< Resource, IdT > | |
ResourceList(ResourceList &&)=default | hueplusplus::ResourceList< Resource, IdT > | protected |
ResourceType typedef | hueplusplus::ResourceList< Resource, IdT > | |
setRefreshDuration(std::chrono::steady_clock::duration refreshDuration) | hueplusplus::ResourceList< Resource, IdT > | inline |
sharedState | hueplusplus::ResourceList< Resource, IdT > | protected |
stateCache | hueplusplus::ResourceList< Resource, IdT > | protected |