Class AsyncSchedulingPolicy

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

enum Value

Values:

enumerator UNKNOWN
enumerator SYNCHRONIZED

Unknown scheduling policy.

enumerator DETACHED

Synchronized scheduling policy.

Public Functions

AsyncSchedulingPolicy() = default
inline constexpr AsyncSchedulingPolicy(Value value)
inline explicit AsyncSchedulingPolicy(const std::string &data_type)
inline operator Value() const
explicit operator bool() const = delete
inline constexpr bool operator==(AsyncSchedulingPolicy other) const
inline constexpr bool operator!=(AsyncSchedulingPolicy other) const
inline constexpr bool operator==(Value other) const
inline constexpr bool operator!=(Value other) const
inline std::string to_string() const
inline AsyncSchedulingPolicy from_string(const std::string &data_type)