Configurable delays.
More...
#include <hueplusplus/LibConfig.h>
Configurable delays.
Used to set all delays to zero when running tests.
◆ Config()
hueplusplus::Config::Config |
( |
| ) |
|
|
protecteddefault |
◆ getBridgeRequestDelay()
duration hueplusplus::Config::getBridgeRequestDelay |
( |
| ) |
const |
|
inline |
Delay between bridge requests.
◆ getPostAlertDelay()
duration hueplusplus::Config::getPostAlertDelay |
( |
| ) |
const |
|
inline |
Delay for advanced alerts after the actual alert.
◆ getPreAlertDelay()
duration hueplusplus::Config::getPreAlertDelay |
( |
| ) |
const |
|
inline |
Delay for advanced alerts before the actual alert.
◆ getRequestUsernameAttemptInterval()
duration hueplusplus::Config::getRequestUsernameAttemptInterval |
( |
| ) |
const |
|
inline |
Interval in which username requests are attempted.
◆ getRequestUsernameTimeout()
duration hueplusplus::Config::getRequestUsernameTimeout |
( |
| ) |
const |
|
inline |
◆ getUPnPTimeout()
duration hueplusplus::Config::getUPnPTimeout |
( |
| ) |
const |
|
inline |
Timeout for UPnP multicast request.
◆ instance()
static Config& hueplusplus::Config::instance |
( |
| ) |
|
|
inlinestatic |
◆ bridgeRequestDelay
duration hueplusplus::Config::bridgeRequestDelay = std::chrono::milliseconds(100) |
|
protected |
◆ postAlertDelay
duration hueplusplus::Config::postAlertDelay = std::chrono::milliseconds(1600) |
|
protected |
◆ preAlertDelay
duration hueplusplus::Config::preAlertDelay = std::chrono::milliseconds(120) |
|
protected |
◆ requestUsernameAttemptInterval
duration hueplusplus::Config::requestUsernameAttemptInterval = std::chrono::seconds(1) |
|
protected |
◆ requestUsernameDelay
duration hueplusplus::Config::requestUsernameDelay = std::chrono::seconds(35) |
|
protected |
◆ upnpTimeout
duration hueplusplus::Config::upnpTimeout = std::chrono::seconds(5) |
|
protected |
The documentation for this class was generated from the following file: