Class AsyncSchedulingPolicy
Defined in File async_function_handler.hpp
Class Documentation
-
class AsyncSchedulingPolicy
Enum class to define the scheduling policy for the async worker thread. SYNCHRONIZED: The async worker thread will be synchronized with the main thread, as the main thread will be triggering the async callback method. DETACHED: The async worker thread will be detached from the main thread and will have its own execution cycle. UNKNOWN: The scheduling policy is unknown.
Public Types
Public Functions
-
AsyncSchedulingPolicy() = default
-
inline explicit AsyncSchedulingPolicy(const std::string &data_type)
-
explicit operator bool() const = delete
-
inline constexpr bool operator==(AsyncSchedulingPolicy other) const
-
inline constexpr bool operator!=(AsyncSchedulingPolicy other) const
-
inline std::string to_string() const
-
inline AsyncSchedulingPolicy from_string(const std::string &data_type)
-
AsyncSchedulingPolicy() = default