Namespaces | Functions | Variables
timeout_adjust_func.h File Reference
#include <chrono>
Include dependency graph for timeout_adjust_func.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 psen_scan_utils
 

Functions

static std::chrono::steady_clock::duration psen_scan_utils::adjustTimeout (const std::chrono::steady_clock::duration &timeout, const std::chrono::steady_clock::duration timeout_increase=DEFAULT_TIMEOUT_INCREASE, const std::chrono::steady_clock::duration max_timeout=DEFAULT_MAX_TIMEOUT)
 Increases the given timeout by the specified timeout increase. If the new timeout exceeds the max timeout, the returned timeout is equal to the specified maximum timeout. More...
 

Variables

constexpr auto psen_scan_utils::DEFAULT_MAX_TIMEOUT { std::chrono::seconds(60) }
 
constexpr auto psen_scan_utils::DEFAULT_TIMEOUT_INCREASE { std::chrono::seconds(10) }
 


psen_scan
Author(s):
autogenerated on Mon Feb 28 2022 23:16:20