MCPcopy Create free account
hub / github.com/CalcProgrammer1/OpenRGB / BaseDevice

Method BaseDevice

dependencies/hueplusplus-1.0.0/src/BaseDevice.cpp:94–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92}
93
94BaseDevice::BaseDevice(int id, const std::shared_ptr<APICache>& baseCache)
95 : id(id), state(baseCache, std::to_string(id), baseCache->getRefreshDuration())
96{ }
97
98BaseDevice::BaseDevice(
99 int id, const HueCommandAPI& commands, const std::string& path, std::chrono::steady_clock::duration refreshDuration, const nlohmann::json& currentState)

Callers

nothing calls this directly

Calls 3

to_stringFunction · 0.85
getRefreshDurationMethod · 0.80
getValueMethod · 0.80

Tested by

no test coverage detected